[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH V2 5/5] build: cleanup configure detritus at toplevel and stubdom



These files were left over after
        $ git clean -f -dx
        $ ./configure
        $ make distclean
and picked up by a subsequent.
        $ git clean -f -dx

Ensure that these files are also correctly ignored.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 .gitignore       |    6 ++++--
 .hgignore        |    6 ++++--
 Makefile         |    1 +
 stubdom/Makefile |    1 +
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index e96db57..125a582 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,7 @@ stubdom/*.tar.gz
 autom4te.cache/
 config.log
 config.status
+config.cache
 config/Toplevel.mk
 
 build-*
@@ -101,10 +102,11 @@ patches/tmp/*
 pristine-*
 ref-*
 tmp-*
-stubdom/autom4te.cache
+stubdom/autom4te.cache/
 stubdom/binutils-*
 stubdom/config.log
 stubdom/config.status
+stubdom/config.cache
 stubdom/cross-root-*
 stubdom/gcc-*
 stubdom/include
@@ -128,7 +130,7 @@ stubdom/ioemu/
 stubdom/stubdompath.sh
 stubdom/vtpm/vtpm_manager.h
 tools/*/build/lib*/*.py
-tools/autom4te.cache
+tools/autom4te.cache/
 tools/config.h
 tools/config.log
 tools/config.status
diff --git a/.hgignore b/.hgignore
index 5efd72c..74fd424 100644
--- a/.hgignore
+++ b/.hgignore
@@ -28,8 +28,9 @@
 (^|/)(GTAGS|GPATH|GSYMS|GRTAGS)$
 ^autom4te\.cache$
 ^config\.log$
-^config\.status
-^config/Toplevel\.mk
+^config\.status$
+^config\.cache$
+^config/Toplevel\.mk$
 ^build-.*$
 ^dist/.*$
 ^docs/autom4te\.cache$
@@ -101,6 +102,7 @@
 ^stubdom/binutils-.*$
 ^stubdom/config\.log$
 ^stubdom/config\.status$
+^stubdom/config\.cache$
 ^stubdom/cross-root-.*$
 ^stubdom/gcc-.*$
 ^stubdom/include$
diff --git a/Makefile b/Makefile
index aa3c7bd..2d3ed82 100644
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,7 @@ endif
        rm -rf dist patches/tmp
        for i in $(ALLKERNELS) ; do $(MAKE) $$i-delete ; done
        rm -rf patches/*/.makedep
+       rm -rf config.log config.status config.cache autom4te.cache
 
 # Linux name for GNU distclean
 .PHONY: mrproper
diff --git a/stubdom/Makefile b/stubdom/Makefile
index 64ee6e2..09f6943 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -548,6 +548,7 @@ downloadclean: patchclean
 .PHONY: distclean
 distclean: downloadclean
        -rm ../config/Stubdom.mk
+       rm -rf config.log config.status config.cache autom4te.cache
 
 ifeq (,$(findstring clean,$(MAKECMDGOALS)))
 $(XEN_ROOT)/config/Stubdom.mk:
-- 
1.7.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.