aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-21 13:47:20 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-21 13:47:20 +0000
commit8eeaa747c83ec096a4e73552ae5bdfaaf5824251 (patch)
treeca20e33db8b425235ba69faea2942ebbd0e93c9c
parent6887e77c328a0dd80b6ddd23279bff4e6f7374f3 (diff)
downloadbusybox-w32-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.tar.gz
busybox-w32-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.tar.bz2
busybox-w32-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.zip
- add doc-clean target
-rw-r--r--Makefile6
-rw-r--r--Makefile.help1
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 06452dff0..1db69eb65 100644
--- a/Makefile
+++ b/Makefile
@@ -966,6 +966,12 @@ clean: archclean $(clean-dirs)
966 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \ 966 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
967 -type f -print | xargs rm -f 967 -type f -print | xargs rm -f
968 968
969PHONY += doc-clean
970doc-clean: rm-files := docs/busybox.pod \
971 docs/BusyBox.html docs/BusyBox.1 docs/BusyBox.txt
972doc-clean:
973 $(call cmd,rmfiles)
974
969# mrproper - Delete all generated files, including .config 975# mrproper - Delete all generated files, including .config
970# 976#
971mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS)) 977mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS))
diff --git a/Makefile.help b/Makefile.help
index f95740365..999d0298e 100644
--- a/Makefile.help
+++ b/Makefile.help
@@ -6,6 +6,7 @@ help:
6 @echo 'Cleaning:' 6 @echo 'Cleaning:'
7 @echo ' clean - delete temporary files created by build' 7 @echo ' clean - delete temporary files created by build'
8 @echo ' distclean - delete all non-source files (including .config)' 8 @echo ' distclean - delete all non-source files (including .config)'
9 @echo ' doc-clean - delete all generated documentation'
9 @echo 10 @echo
10 @echo 'Build:' 11 @echo 'Build:'
11 @echo ' all - Executable and documentation' 12 @echo ' all - Executable and documentation'