]> granicus.if.org Git - docbook-dsssl/commitdiff
use a "svn status" hack to remove ignored files (instead of make clean)
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 26 Mar 2008 07:42:53 +0000 (07:42 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 26 Mar 2008 07:42:53 +0000 (07:42 +0000)
buildtools/build-clean

index e5ddd31df03d6e46f8efbbc6396936ce80114a69..802d7434fc3e9663be5fc1e687500e2563b91a28 100755 (executable)
@@ -2,7 +2,8 @@
 # $Id$
 if [ -z "$(svn status | egrep '^\?|^X')" ]
 then
-  make clean
+  # remove all files ignored by Subversion
+  rm -rf $(svn status --no-ignore | grep '^I' | cut -c8- | cat -s)
 else
   echo
   echo "Unversioned files found. Before building, either delete the"