From: Ian Jackson Date: Sat, 30 Jul 2011 15:37:20 +0000 (+0100) Subject: Build system: make clean targets remove all files which are not in git X-Git-Tag: debian/2.0.0~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=af4c00758013b6559e31890847659590f3a2b8d4;p=autopkgtest.git Build system: make clean targets remove all files which are not in git --- diff --git a/Makefile b/Makefile index f346c6f..4beca8b 100644 --- a/Makefile +++ b/Makefile @@ -56,4 +56,5 @@ install: install-here cd xen && $(MAKE) install clean: + rm -f */*.pyc cd xen && $(MAKE) clean diff --git a/debian/rules b/debian/rules index 37c955e..64ea6c1 100755 --- a/debian/rules +++ b/debian/rules @@ -80,9 +80,10 @@ binary binary-indep: checkdir dh_installdeb dh_builddeb -clean: checkdir debian/copyright +clean: checkdir dh_testroot $(MAKE) clean + rm -f debian/copyright dh_clean checkdir: diff --git a/xen/Makefile b/xen/Makefile index 412b579..c95e844 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -60,4 +60,4 @@ sed-readconfig: README Makefile echo 'd}' >>$@.new && mv -f $@.new $@ clean: - rm -f readconfig *~ + rm -f readconfig sed-readconfig *~