Patchwork [3,of,5,STABLE] make: add chg to clean rule

login
register
mail settings
Submitter Sean Farley
Date April 16, 2016, 8:36 p.m.
Message ID <8aca7fdddfbaeb1e7afd.1460838983@laptop.local>
Download mbox | patch
Permalink /patch/14690/
State Accepted
Commit ef5553fab197d87a523e7a2a8c6c031c413cb18c
Headers show

Comments

Sean Farley - April 16, 2016, 8:36 p.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1460746301 25200
#      Fri Apr 15 11:51:41 2016 -0700
# Branch stable
# Node ID 8aca7fdddfbaeb1e7afd30cd2a0c24cb7b2ea80c
# Parent  9af3f35f6e3ade19b3b8a967d1e8022ab7fbd5cf
# EXP-Topic ppa
make: add chg to clean rule

Patch

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -64,10 +64,11 @@  clean:
 	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
 	$(MAKE) -C doc clean
+	$(MAKE) -C contrib/chg distclean
 
 install: install-bin install-doc
 
 install-bin: build
 	$(PYTHON) setup.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force