mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-13 21:22:50 -06:00
Set GF_LIB_PATH to the dist dir when building grammar-dist.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
.PHONY: all test pretest langs present mathematical multimodal compiled treebank stat gfdoc clean
|
.PHONY: show-path all test pretest langs present mathematical multimodal compiled treebank stat gfdoc clean
|
||||||
|
|
||||||
all: present mathematical multimodal langs compiled
|
all: show-path present mathematical multimodal langs compiled
|
||||||
|
|
||||||
|
show-path:
|
||||||
|
@echo GF_LIB_PATH=$(GF_LIB_PATH)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
echo "gr -cat=Text -number=11 -prob | tb" | gf -nocf -probs=lang.gfprob langs.gfcm
|
echo "gr -cat=Text -number=11 -prob | tb" | gf -nocf -probs=lang.gfprob langs.gfcm
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ grammar-dist:
|
|||||||
-rm -rf $(GRAMMAR_DIST_DIR)
|
-rm -rf $(GRAMMAR_DIST_DIR)
|
||||||
mkdir $(GRAMMAR_DIST_DIR)
|
mkdir $(GRAMMAR_DIST_DIR)
|
||||||
cp -r ../_darcs/current/{lib,examples} $(GRAMMAR_DIST_DIR)
|
cp -r ../_darcs/current/{lib,examples} $(GRAMMAR_DIST_DIR)
|
||||||
$(MAKE) -C $(GRAMMAR_DIST_DIR)/lib/resource-1.0 present mathematical multimodal langs
|
$(MAKE) GF_LIB_PATH=.. -C $(GRAMMAR_DIST_DIR)/lib/resource-1.0 show-path present mathematical multimodal langs
|
||||||
$(TAR) -zcf $(GRAMMAR_DIST_DIR).tgz $(GRAMMAR_DIST_DIR)
|
$(TAR) -zcf $(GRAMMAR_DIST_DIR).tgz $(GRAMMAR_DIST_DIR)
|
||||||
rm -rf $(GRAMMAR_DIST_DIR)
|
rm -rf $(GRAMMAR_DIST_DIR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user