diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-08-21 13:47:20 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-08-21 13:47:20 +0000 |
| commit | 8eeaa747c83ec096a4e73552ae5bdfaaf5824251 (patch) | |
| tree | ca20e33db8b425235ba69faea2942ebbd0e93c9c | |
| parent | 6887e77c328a0dd80b6ddd23279bff4e6f7374f3 (diff) | |
| download | busybox-w32-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.tar.gz busybox-w32-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.tar.bz2 busybox-w32-8eeaa747c83ec096a4e73552ae5bdfaaf5824251.zip | |
- 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) | |||
| 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 | ||
| 969 | PHONY += doc-clean | ||
| 970 | doc-clean: rm-files := docs/busybox.pod \ | ||
| 971 | docs/BusyBox.html docs/BusyBox.1 docs/BusyBox.txt | ||
| 972 | doc-clean: | ||
| 973 | $(call cmd,rmfiles) | ||
| 974 | |||
| 969 | # mrproper - Delete all generated files, including .config | 975 | # mrproper - Delete all generated files, including .config |
| 970 | # | 976 | # |
| 971 | mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS)) | 977 | 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: | |||
| 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' |
