diff options
author | Andrei Zmievski <andrei@php.net> | 2001-02-01 14:11:44 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2001-02-01 14:11:44 +0000 |
commit | b7b7ffbabdb821647ee15030afab6fc3b20da6c9 (patch) | |
tree | aa1421387db3414dc1b903bac85eb4e3a4bc8b9e /build | |
parent | d7b7c7283fd491b2104d81dea5ab97b11d451e22 (diff) | |
download | php-git-b7b7ffbabdb821647ee15030afab6fc3b20da6c9.tar.gz |
Add cvsclean target for standalone extensions.
Diffstat (limited to 'build')
-rw-r--r-- | build/rules_pear.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/rules_pear.mk b/build/rules_pear.mk index de00d71281..c7382eaa4b 100644 --- a/build/rules_pear.mk +++ b/build/rules_pear.mk @@ -55,6 +55,12 @@ distclean: distclean-recursive clean-x rm -f config.cache config.log config.status config_vars.mk libtool \ php_config.h stamp-h Makefile build-defs.h php4.spec libphp4.module +cvsclean: + @for i in `find . -name .cvsignore`; do \ + (cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore` *.o *.a || true); \ + done + @rm -f $(SUBDIRS) 2>/dev/null || true + install-modules: @test -d modules && \ $(mkinstalldirs) $(moduledir) && \ |