From: Thies C. Arntzen Date: Sun, 10 Oct 1999 17:14:29 +0000 (+0000) Subject: (build.mk) added target cvsclean: removed all files listed in all .cvsignore files... X-Git-Tag: php-4.0b3_RC2~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a23f7e2153bb0744a3ee9cd24374a593a83f39c;p=php (build.mk) added target cvsclean: removed all files listed in all .cvsignore files found in the current tree. --- diff --git a/build.mk b/build.mk index 22cb9a46c7..84af0328ea 100644 --- 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) > $@