diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-08-21 17:47:20 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-08-21 17:47:20 +0400 |
commit | 8eeaa747c83ec096a4e73552ae5bdfaaf5824251 (patch) | |
tree | ca20e33db8b425235ba69faea2942ebbd0e93c9c | |
parent | 6887e77c328a0dd80b6ddd23279bff4e6f7374f3 (diff) |
- add doc-clean target
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | Makefile.help | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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)) diff --git a/Makefile.help b/Makefile.help index f95740365..999d0298e 100644 --- a/Makefile.help +++ b/Makefile.help @@ -6,6 +6,7 @@ help: @echo 'Cleaning:' @echo ' clean - delete temporary files created by build' @echo ' distclean - delete all non-source files (including .config)' + @echo ' doc-clean - delete all generated documentation' @echo @echo 'Build:' @echo ' all - Executable and documentation' |