summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-08-21 13:47:20 +0000
committerBernhard Reutner-Fischer2008-08-21 13:47:20 +0000
commit8eeaa747c83ec096a4e73552ae5bdfaaf5824251 (patch)
treeca20e33db8b425235ba69faea2942ebbd0e93c9c /Makefile
parent6887e77c328a0dd80b6ddd23279bff4e6f7374f3 (diff)
downloadbusybox-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.zip
busybox-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.tar.gz
- add doc-clean target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 06452df..1db69eb 100644
--- a/Makefile
+++ b/Makefile
@@ -966,6 +966,12 @@ clean: archclean $(clean-dirs)
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
-type f -print | xargs rm -f
+PHONY += doc-clean
+doc-clean: rm-files := docs/busybox.pod \
+ docs/BusyBox.html docs/BusyBox.1 docs/BusyBox.txt
+doc-clean:
+ $(call cmd,rmfiles)
+
# mrproper - Delete all generated files, including .config
#
mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS))