[PATCH 5 of 5 STABLE] make: remove packages directory in clean rule

Sean Farley sean at farley.io
Sat Apr 16 16:36:25 EDT 2016


# HG changeset patch
# User Sean Farley <sean at farley.io>
# Date 1460751034 25200
#      Fri Apr 15 13:10:34 2016 -0700
# Branch stable
# Node ID 41ec1d15655a64a695b29007fcd9762976a44ada
# Parent  06027f4c174a930cbeb1d1d7b0b85a5990244f11
# EXP-Topic ppa
make: remove packages directory in clean rule

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -62,11 +62,11 @@ clean:
 	find contrib doc hgext hgext3rd i18n mercurial tests \
 		\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
 	rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/[a-z]*.py)))
 	rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
 	if test -d .hg; then rm -f mercurial/__version__.py; fi
-	rm -rf build mercurial/locale
+	rm -rf build packages mercurial/locale
 	$(MAKE) -C doc clean
 	$(MAKE) -C contrib/chg distclean
 
 install: install-bin install-doc
 


More information about the Mercurial-devel mailing list