[Commits] (bear) QueryParser.py is now generated in the site-packages directory instead of

commits at osafoundation.org commits at osafoundation.org
Tue Apr 12 12:31:24 PDT 2005


Commit by: bear
Modified files:
internal/queryparser/Makefile 1.12 1.13

Log message:
QueryParser.py is now generated in the site-packages directory instead of
in the chandler/ directory.
bug 2817


Bugzilla links:
http://bugzilla.osafoundation.org/show_bug.cgi?id=2817

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/queryparser/Makefile.diff?r1=text&tr1=1.12&r2=text&tr2=1.13

Index: internal/queryparser/Makefile
diff -u internal/queryparser/Makefile:1.12 internal/queryparser/Makefile:1.13
--- internal/queryparser/Makefile:1.12	Thu Jan 27 14:50:12 2005
+++ internal/queryparser/Makefile	Tue Apr 12 12:31:23 2005
@@ -1,38 +1,40 @@
 
 include ../Makefile.inc
 
-RELVER=0.4-3
+RELVER=0.4-4
 QP=$(INTERNAL)/queryparser
 
 ifeq ($(OS),Cygwin)
 TOOLPATH="`cygpath -aw $(BUILD_ROOT)/$(SNAP)/$(SITE)/yapps/yapps2.py`"
-GRAMMAR_PATH="`cygpath -aw $(SRC)/QueryParser.g`"
+GRAMMAR_PATH="`cygpath -aw $(SRC)/QueryParser.g`"   
+MANIFEST_PATH="`cygpath -aw $(SNAP)/$(SITE)`"
+MANIFEST="`cygpath -aw $(MANIFEST_PATH)/QueryParser.py`"
 else
 TOOLPATH=$(BUILD_ROOT)/$(SNAP)/$(SITE)/yapps/yapps2.py
 GRAMMAR_PATH=$(SRC)/QueryParser.g
+MANIFEST_PATH=$(SNAP)/$(SITE)
+MANIFEST=$(MANIFEST_PATH)/QueryParser.py
 endif
 
 SRC=$(QP)
 
-MANIFEST=repository/query/parser/QueryParser.py
-
 build: $(PYTHON) $(SRC)/QueryParser.g
 	$(PYTHON) $(TOOLPATH) $(GRAMMAR_PATH)
-	mkdir -p repository/query/parser
-	cp -p QueryParser.py repository/query/parser
+	mkdir -p $(MANIFEST_PATH)
+	cp -p QueryParser.py $(MANIFEST_PATH)
 
 snap: 
 	tar -cvzf $(QP)/QueryParser-$(SNAP)-$(RELVER).tar.gz $(MANIFEST)
 	$(MD5) QueryParser-$(SNAP)-$(RELVER).tar.gz > QueryParser-$(SNAP)-$(RELVER).tar.gz.md5
 
 clean:
-	rm -f $(SRC)/QueryParser.py $(MANIFEST)
+	rm -f $(SRC)/QueryParser.py $(MANIFEST_PATH)
 
 realclean: clean
 	rm -f QueryParser-debug-*.tar.gz* QueryParser-release-*.tar.gz*
 
 install:
-	tar -cf - $(MANIFEST) | tar -C $(CHANDLERHOME) -xvf -
+	tar -cf - $(MANIFEST) | tar -C $(CHANDLERBIN) -xvf -
 
 upload: QueryParser-$(SNAP)-$(RELVER).tar.gz
 	scp QueryParser-$(SNAP)-$(RELVER).tar.gz $(UPLOAD)



More information about the Commits mailing list