[PATCH fix-ppa STABLE] make: add new directory 'hgdemandimport' to cleanbutpackages rule

Sean Farley sean at farley.io
Sun Jul 30 02:33:28 UTC 2017


# HG changeset patch
# User Sean Farley <sean at farley.io>
# Date 1501380768 25200
#      Sat Jul 29 19:12:48 2017 -0700
# Branch fix-ppa
# Node ID 18c67cd6cb9936d3d2a567558cc1fa2a2d157438
# Parent  850d2ec2cf6a266987a401752c909f95dd8c4c53
make: add new directory 'hgdemandimport' to cleanbutpackages rule

This fixes the build process for ppa (at least in my simple check).
Perhaps we should loop through all directory that aren't 'packages'?

diff --git a/Makefile b/Makefile
index be08770..feec2e6 100644
--- a/Makefile
+++ b/Makefile
@@ -61,11 +61,11 @@ wheel:
 doc:
 	$(MAKE) -C doc
 
 cleanbutpackages:
 	-$(PYTHON) setup.py clean --all # ignore errors from this command
-	find contrib doc hgext hgext3rd i18n mercurial tests \
+	find contrib doc hgext hgext3rd i18n mercurial tests hgdemandimport \
 		\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
 	rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
 	rm -f mercurial/__modulepolicy__.py
 	if test -d .hg; then rm -f mercurial/__version__.py; fi
 	rm -rf build mercurial/locale


More information about the Mercurial-devel mailing list