r65 - trunk/vim/debian

Pierre Habouzit madcoder-guest@costa.debian.org
Tue, 15 Mar 2005 19:53:18 +0100


Author: madcoder-guest
Date: 2005-03-15 19:53:17 +0100 (Tue, 15 Mar 2005)
New Revision: 65

Modified:
   trunk/vim/debian/rules
Log:
now find work. thanks nobse for noting that

Modified: trunk/vim/debian/rules
===================================================================
--- trunk/vim/debian/rules	2005-03-15 16:55:07 UTC (rev 64)
+++ trunk/vim/debian/rules	2005-03-15 18:53:17 UTC (rev 65)
@@ -156,8 +156,6 @@
 SOURCES+=$(NAME)-$(VERSION)-extra.tar.gz
 SRCDIR=$(NAME)$(subst .,,$(VERSION))
 
-NO_SVN=" ! -path '.svn/' "
-
 make_patch: extract
 	mv $(SRCDIR) $(SRCDIR).new
 	rm -f extract-stamp*
@@ -168,14 +166,14 @@
 
 extract: extract-stamp
 extract-stamp: $(foreach s,$(SOURCES),extract-stamp-$(s))
-	@for f in `find upstream/patches -type f -name '$(VERSION).*' $(NO_SVN) -printf "%P\n" | sort -n` ; do\
+	@for f in `find upstream/patches -type f -name '$(VERSION).*' -printf "%P\n" | grep -v .svn | sort -n` ; do\
 	  echo "applying upstream patch: $$f" ;\
 	  cat upstream/patches/$$f | patch -s -d$(SRCDIR) -p0 ;\
 	done
 	echo "applying KVim patches";
 	cd vim63; cat ../upstream/kvim/vim2kvim.diff | patch -p1;
 	cd vim63/runtime; uudecode ../../upstream/kvim/runtime/*.uu;
-	@for f in `find debian/patches -type f $(NO_SVN) -printf "%P\n" | sort -n` ; do\
+	@for f in `find debian/patches -type f -printf "%P\n" | grep -v .svn | sort -n` ; do\
 	  echo "applying debian patch: $$f" ;\
 	  cat debian/patches/$$f | patch -s -d$(SRCDIR) -p1 ;\
 	done