diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-27 11:50:57 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-27 11:50:57 +0100 |
commit | 956c0afa809bb7c4c99f6bbd9aa17a8a1c7667a1 (patch) | |
tree | 678c6b515fee007d6f7b2151ecd503b63eeca2e5 | |
parent | 3144ac0f723a6bdda7a0e1b1d969b46e1f4d5750 (diff) | |
download | xen-956c0afa809bb7c4c99f6bbd9aa17a8a1c7667a1.tar.gz xen-956c0afa809bb7c4c99f6bbd9aa17a8a1c7667a1.tar.bz2 xen-956c0afa809bb7c4c99f6bbd9aa17a8a1c7667a1.zip |
[BUILD] Add distclean build target to xen directory: cleans out tags.
Signed-off-by: Horms <horms@verge.net.au>
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | docs/Makefile | 3 | ||||
-rw-r--r-- | tools/Makefile | 3 | ||||
-rw-r--r-- | xen/Makefile | 8 |
4 files changed, 16 insertions, 3 deletions
@@ -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 --git a/docs/Makefile b/docs/Makefile index 1964750427..59e9fa69d7 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -80,6 +80,9 @@ clean: rm -rf man5 rm -rf man1 +.PHONY: distclean +distclean: clean + .PHONY: install install: all rm -rf $(DESTDIR)$(pkgdocdir) diff --git a/tools/Makefile b/tools/Makefile index 54d738aa28..6c490852a9 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -45,6 +45,9 @@ clean: check_clean done $(MAKE) ioemuclean +.PHONY: distclean +distclean: clean + .PHONY: check check: $(MAKE) -C check diff --git a/xen/Makefile b/xen/Makefile index 15656ce012..cedd21396e 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -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 @@ -50,6 +50,10 @@ _clean: delete-unfresh-files 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 mv $@.new $@ |