.. or having hg "purging" unwanted build artifact (probably cleaning up the .hgignore file first) >> find $(srcdir)/* ... >> >> to avoid this problem. It won't expand the .hg top-level directory. > > Or find \( -type d -name .hg -prune \) -o ... > > Oleg.