You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-commits@lucene.apache.org by va...@apache.org on 2017/03/17 02:05:37 UTC
svn commit: r1787278 - /lucene/pylucene/trunk/Makefile
Author: vajda
Date: Fri Mar 17 02:05:37 2017
New Revision: 1787278
URL: http://svn.apache.org/viewvc?rev=1787278&view=rev
Log:
- exclude symlinks from distribution tar file
Modified:
lucene/pylucene/trunk/Makefile
Modified: lucene/pylucene/trunk/Makefile
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/Makefile?rev=1787278&r1=1787277&r2=1787278&view=diff
==============================================================================
--- lucene/pylucene/trunk/Makefile (original)
+++ lucene/pylucene/trunk/Makefile Fri Mar 17 02:05:37 2017
@@ -373,7 +373,7 @@ ARCHIVE=pylucene-$(VERSION)-src.tar.gz
distrib:
mkdir -p distrib
svn export --force . distrib/pylucene-$(VERSION)
- tar -cf - --exclude build $(LUCENE_SRC) | tar -C distrib/pylucene-$(VERSION) -xvf -
+ tar -cf - --exclude build `find $(LUCENE_SRC) -type l | xargs -n 1 echo --exclude` $(LUCENE_SRC) | tar -C distrib/pylucene-$(VERSION) -xvf -
cd distrib; tar --disable-copyfile -cvzf $(ARCHIVE) pylucene-$(VERSION)
cd distrib; gpg2 --armor --output $(ARCHIVE).asc --detach-sig $(ARCHIVE)
cd distrib; md5sum $(ARCHIVE) > $(ARCHIVE).md5