1
0
forked from GitHub/gf-core

Use date-based package name for grammar dist. Included compiled resource-1.0 in grammar dist.

This commit is contained in:
bringert
2006-03-21 13:02:14 +00:00
parent 385774a6b7
commit f5f230b6c0

View File

@@ -18,7 +18,8 @@ NOT_IN_DIST= \
BIN_DIST_DIR=$(DIST_DIR)-$(host)
GRAMMAR_DIST_DIR=GF-grammars-$(PACKAGE_VERSION)
GRAMMAR_PACKAGE_VERSION=$(shell date +%Y%m%d)
GRAMMAR_DIST_DIR=gf-grammars-$(GRAMMAR_PACKAGE_VERSION)
MSI_FILE=gf-$(subst .,_,$(PACKAGE_VERSION)).msi
@@ -221,6 +222,7 @@ grammar-dist:
-rm -rf $(GRAMMAR_DIST_DIR)
mkdir $(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
$(TAR) -zcf $(GRAMMAR_DIST_DIR).tgz $(GRAMMAR_DIST_DIR)
rm -rf $(GRAMMAR_DIST_DIR)