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

[Xen-changelog] [xen-unstable] [BUILD] Add distclean build target to xen directory: cleans out tags.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 7154e0416313e5dcecd7c2e78ca18e51569202eb
# Parent  b4e32833439236e72b41d256277e48def038a80b
[BUILD] Add distclean build target to xen directory: cleans out tags.
Signed-off-by: Horms <horms@xxxxxxxxxxxx>
---
 Makefile       |    5 ++++-
 docs/Makefile  |    3 +++
 tools/Makefile |    3 +++
 xen/Makefile   |    8 ++++++--
 4 files changed, 16 insertions(+), 3 deletions(-)

diff -r b4e328334392 -r 7154e0416313 Makefile
--- a/Makefile  Tue Jun 27 11:43:04 2006 +0100
+++ b/Makefile  Tue Jun 27 11:50:57 2006 +0100
@@ -123,7 +123,10 @@ clean::
 
 # clean, but blow away kernel build tree plus tarballs
 .PHONY: distclean
-distclean: clean
+distclean:
+       $(MAKE) -C xen distclean
+       $(MAKE) -C tools distclean
+       $(MAKE) -C docs distclean
        rm -rf dist patches/tmp
        for i in $(ALLKERNELS) ; do $(MAKE) $$i-delete ; done
        for i in $(ALLSPARSETREES) ; do $(MAKE) $$i-mrproper ; done
diff -r b4e328334392 -r 7154e0416313 docs/Makefile
--- a/docs/Makefile     Tue Jun 27 11:43:04 2006 +0100
+++ b/docs/Makefile     Tue Jun 27 11:50:57 2006 +0100
@@ -80,6 +80,9 @@ clean:
        rm -rf man5
        rm -rf man1
 
+.PHONY: distclean
+distclean: clean
+
 .PHONY: install
 install: all
        rm -rf $(DESTDIR)$(pkgdocdir)
diff -r b4e328334392 -r 7154e0416313 tools/Makefile
--- a/tools/Makefile    Tue Jun 27 11:43:04 2006 +0100
+++ b/tools/Makefile    Tue Jun 27 11:50:57 2006 +0100
@@ -45,6 +45,9 @@ clean: check_clean
        done
        $(MAKE) ioemuclean
 
+.PHONY: distclean
+distclean: clean
+
 .PHONY: check
 check:
        $(MAKE) -C check
diff -r b4e328334392 -r 7154e0416313 xen/Makefile
--- a/xen/Makefile      Tue Jun 27 11:43:04 2006 +0100
+++ b/xen/Makefile      Tue Jun 27 11:50:57 2006 +0100
@@ -14,8 +14,8 @@ default: build
 .PHONY: dist
 dist: install
 
-.PHONY: build install clean cscope TAGS tags
-build install debug clean cscope TAGS tags::
+.PHONY: build install clean distclean cscope TAGS tags
+build install debug clean distclean cscope TAGS tags::
        make -f Rules.mk _$@
 
 .PHONY: _build
@@ -49,6 +49,10 @@ _clean: delete-unfresh-files
        rm -f include/asm *.o $(TARGET)* *~ core
        rm -f include/asm-*/asm-offsets.h
        rm -f include/xen/acm_policy.h
+
+.PHONY: _distclean
+_distclean: clean
+       rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out
 
 $(TARGET).gz: $(TARGET)
        gzip -f -9 < $< > $@.new

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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