Replace cvs-clean with a much better svn-clean.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 15 Mar 2004 17:53:17 +0000 (17:53 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 15 Mar 2004 17:53:17 +0000 (17:53 +0000)
Makefile.am

index 419940ed12ff6fe35d99de222482cfe8f412b622..eb800e147c27d90e9be43860af8ab8c2a34fa357 100644 (file)
@@ -8,20 +8,11 @@ ACLOCAL_AMFLAGS = -I m4
 
 EXTRA_DIST = config.rpath mkinstalldirs system.h COPYING.README depcomp
 
 
 EXTRA_DIST = config.rpath mkinstalldirs system.h COPYING.README depcomp
 
-CVS_CREATED = ABOUT-NLS INSTALL COPYING configure aclocal.m4 config.h.in config.guess \
- config.sub install-sh ltconfig ltmain.sh missing mkinstalldirs \
- stamp-h.in ChangeLog po/Makefile.in.in \
- po/tinc.pot po/*.sed po/*.header po/*.sin po/Rules-quot \
- src/.libs intl depcomp
-
 ChangeLog:
        cvs2cl -U cvsusers --fsf
 
 ChangeLog:
        cvs2cl -U cvsusers --fsf
 
-cvs-clean: maintainer-clean
-       for f in $(CVS_CREATED) `find . -name Makefile.in` tinc-$(VERSION).tar.gz; do\
-         rm -Rf "$$f"; \
-       done
-       grep -l gettext `find m4 -type f` | xargs rm -f
+svn-clean: maintainer-clean
+       svn status --no-ignore | grep '^\?' | sed 's/^\? \+//g' | xargs rm -rf
 
 deb:
        dpkg-buildpackage -rfakeroot
 
 deb:
        dpkg-buildpackage -rfakeroot