svn commit: trunk/busybox

aldot at busybox.net aldot at busybox.net
Thu Aug 21 13:47:20 UTC 2008


Author: aldot
Date: 2008-08-21 06:47:20 -0700 (Thu, 21 Aug 2008)
New Revision: 23156

Log:
- add doc-clean target


Modified:
   trunk/busybox/Makefile
   trunk/busybox/Makefile.help


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2008-08-21 13:37:47 UTC (rev 23155)
+++ trunk/busybox/Makefile	2008-08-21 13:47:20 UTC (rev 23156)
@@ -966,6 +966,12 @@
 		-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))

Modified: trunk/busybox/Makefile.help
===================================================================
--- trunk/busybox/Makefile.help	2008-08-21 13:37:47 UTC (rev 23155)
+++ trunk/busybox/Makefile.help	2008-08-21 13:47:20 UTC (rev 23156)
@@ -6,6 +6,7 @@
 	@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'




More information about the busybox-cvs mailing list