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 2022/01/04 19:22:38 UTC

svn commit: r1896674 - /lucene/pylucene/trunk/Makefile

Author: vajda
Date: Tue Jan  4 19:22:38 2022
New Revision: 1896674

URL: http://svn.apache.org/viewvc?rev=1896674&view=rev
Log:
clean-up distrib

Modified:
    lucene/pylucene/trunk/Makefile

Modified: lucene/pylucene/trunk/Makefile
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/Makefile?rev=1896674&r1=1896673&r2=1896674&view=diff
==============================================================================
--- lucene/pylucene/trunk/Makefile (original)
+++ lucene/pylucene/trunk/Makefile Tue Jan  4 19:22:38 2022
@@ -44,10 +44,10 @@ LUCENE=$(LUCENE_SRC)/lucene
 #
 
 # Mac OS X 11.4 (64-bit intel Python 3.9, Java 17)
-PREFIX_PYTHON=/Users/vajda/apache/pylucene/_install3
-PYTHON=$(PREFIX_PYTHON)/bin/python
-JCC=$(PYTHON) -m jcc --shared --arch x86_64 --wheel
-NUM_FILES=16
+#PREFIX_PYTHON=/Users/vajda/apache/pylucene/_install3
+#PYTHON=$(PREFIX_PYTHON)/bin/python
+#JCC=$(PYTHON) -m jcc --shared --arch x86_64 --wheel
+#NUM_FILES=16
 
 # Mac OS X 11.4 (64-bit Python 2.7, Java 17)
 #PREFIX_PYTHON=/Users/vajda/apache/pylucene/_install2
@@ -168,13 +168,13 @@ HPPC_JAR=$(LUCENE)/facet/build/runtimeJa
 ICUPKG:=$(shell which icupkg)
 
 .PHONY: generate compile install default all clean realclean \
-	sources test jars distrib now
+	sources lucene test jars distrib now
 
 default: all
 
 $(LUCENE_SRC):
 	mkdir -p $(LUCENE_SRC)
-	tar -C ~/apache/lucene.git -cf - . | tar -C $(LUCENE_SRC) -xvf -
+	tar -C ~/apache/lucene.git -cf - --exclude .git . | tar -C $(LUCENE_SRC) -xvf -
 	tar -cf - extensions | tar -C $(LUCENE_SRC)/lucene -xvf -
 	echo 'include "lucene:extensions"' >> $(LUCENE_SRC)/settings.gradle
 
@@ -279,7 +279,7 @@ bdist: jars
 wininst: jars
 	$(GENERATE) --wininst
 
-all: sources jars resources compile
+all: sources lucene jars resources compile
 	@echo build of pylucene $(LUCENE_VER) complete
 
 clean: