ia64/xen-unstable

changeset 10540:7154e0416313

[BUILD] Add distclean build target to xen directory: cleans out tags.
Signed-off-by: Horms <horms@verge.net.au>
author kaf24@firebug.cl.cam.ac.uk
date Tue Jun 27 11:50:57 2006 +0100 (2006-06-27)
parents b4e328334392
children 234939c0ec3a
files Makefile docs/Makefile tools/Makefile xen/Makefile
line diff
     1.1 --- a/Makefile	Tue Jun 27 11:43:04 2006 +0100
     1.2 +++ b/Makefile	Tue Jun 27 11:50:57 2006 +0100
     1.3 @@ -123,7 +123,10 @@ clean::
     1.4  
     1.5  # clean, but blow away kernel build tree plus tarballs
     1.6  .PHONY: distclean
     1.7 -distclean: clean
     1.8 +distclean:
     1.9 +	$(MAKE) -C xen distclean
    1.10 +	$(MAKE) -C tools distclean
    1.11 +	$(MAKE) -C docs distclean
    1.12  	rm -rf dist patches/tmp
    1.13  	for i in $(ALLKERNELS) ; do $(MAKE) $$i-delete ; done
    1.14  	for i in $(ALLSPARSETREES) ; do $(MAKE) $$i-mrproper ; done
     2.1 --- a/docs/Makefile	Tue Jun 27 11:43:04 2006 +0100
     2.2 +++ b/docs/Makefile	Tue Jun 27 11:50:57 2006 +0100
     2.3 @@ -80,6 +80,9 @@ clean:
     2.4  	rm -rf man5
     2.5  	rm -rf man1
     2.6  
     2.7 +.PHONY: distclean
     2.8 +distclean: clean
     2.9 +
    2.10  .PHONY: install
    2.11  install: all
    2.12  	rm -rf $(DESTDIR)$(pkgdocdir)
     3.1 --- a/tools/Makefile	Tue Jun 27 11:43:04 2006 +0100
     3.2 +++ b/tools/Makefile	Tue Jun 27 11:50:57 2006 +0100
     3.3 @@ -45,6 +45,9 @@ clean: check_clean
     3.4  	done
     3.5  	$(MAKE) ioemuclean
     3.6  
     3.7 +.PHONY: distclean
     3.8 +distclean: clean
     3.9 +
    3.10  .PHONY: check
    3.11  check:
    3.12  	$(MAKE) -C check
     4.1 --- a/xen/Makefile	Tue Jun 27 11:43:04 2006 +0100
     4.2 +++ b/xen/Makefile	Tue Jun 27 11:50:57 2006 +0100
     4.3 @@ -14,8 +14,8 @@ default: build
     4.4  .PHONY: dist
     4.5  dist: install
     4.6  
     4.7 -.PHONY: build install clean cscope TAGS tags
     4.8 -build install debug clean cscope TAGS tags::
     4.9 +.PHONY: build install clean distclean cscope TAGS tags
    4.10 +build install debug clean distclean cscope TAGS tags::
    4.11  	make -f Rules.mk _$@
    4.12  
    4.13  .PHONY: _build
    4.14 @@ -50,6 +50,10 @@ build install debug clean cscope TAGS ta
    4.15  	rm -f include/asm-*/asm-offsets.h
    4.16  	rm -f include/xen/acm_policy.h
    4.17  
    4.18 +.PHONY: _distclean
    4.19 +_distclean: clean
    4.20 +	rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out
    4.21 +
    4.22  $(TARGET).gz: $(TARGET)
    4.23  	gzip -f -9 < $< > $@.new
    4.24  	mv $@.new $@