[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH] 'make doc-clean' does not delete 'docs/busybox.net'
From:       Antonio Diaz Diaz <ant_diaz () teleline ! es>
Date:       2012-11-19 17:58:29
Message-ID: 50AA7345.3020008 () teleline ! es
[Download RAW message or body]

Hello all,

I have noticed that 'make doc-clean' does not delete the directory 
'docs/busybox.net'.

I attach a (trivial) patch solving this.

It could also be a good idea to make 'doc-clean' a prerequisite of 
'distclean'.


Best regards,
Antonio.


["busybox_doc_clean.patch" (text/x-diff)]

diff -urdN busybox.old/Makefile busybox.new/Makefile
--- busybox.old/Makefile	2012-11-14 02:45:15.000000000 +0100
+++ busybox.new/Makefile	2012-11-17 18:36:05.000000000 +0100
@@ -995,9 +995,11 @@
 		-type f -print | xargs rm -f
 
 PHONY += doc-clean
+doc-clean: rm-dirs  := docs/busybox.net
 doc-clean: rm-files := docs/busybox.pod \
 		  docs/BusyBox.html docs/busybox.1 docs/BusyBox.txt
 doc-clean:
+	$(call cmd,rmdirs)
 	$(call cmd,rmfiles)
 
 # mrproper - Delete all generated files, including .config



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic