]> granicus.if.org Git - php/commitdiff
(build.mk) added target cvsclean: removed all files listed in all .cvsignore files...
authorThies C. Arntzen <thies@php.net>
Sun, 10 Oct 1999 17:14:29 +0000 (17:14 +0000)
committerThies C. Arntzen <thies@php.net>
Sun, 10 Oct 1999 17:14:29 +0000 (17:14 +0000)
build.mk

index 22cb9a46c7ae43f1d6f541d163d300007ea8ce3f..84af0328ea5fd75230337fdd2c3c802c1efc45df 100644 (file)
--- a/build.mk
+++ b/build.mk
@@ -53,6 +53,11 @@ clean:
                (cd $$i && $(MAKE) -f build.mk clean); \
        done 
 
+cvsclean:
+       @for i in $(shell find . -follow -name .cvsignore); do \
+               (cd `dirname $$i` && rm -rf `cat .cvsignore`); \
+       done
+
 acconfig.h: $(acconfig_h_SOURCES)
        @echo rebuilding $@
        @cat $(acconfig_h_SOURCES) > $@