mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Changed Makefile use of CVS for creating dists to use darcs.
This commit is contained in:
@@ -179,10 +179,8 @@ tools/$(GF_DOC_EXE): tools/GFDoc.hs
|
|||||||
|
|
||||||
dist:
|
dist:
|
||||||
-rm -rf $(DIST_DIR)
|
-rm -rf $(DIST_DIR)
|
||||||
mkdir $(DIST_DIR)
|
cp -r ../_darcs/current $(DIST_DIR)
|
||||||
cvs export -d $(DIST_DIR) -rHEAD GF
|
|
||||||
cd $(DIST_DIR)/src && autoconf && rm -rf autom4te.cache
|
cd $(DIST_DIR)/src && autoconf && rm -rf autom4te.cache
|
||||||
find $(DIST_DIR) -name .cvsignore -exec rm -f {} ';'
|
|
||||||
# cd $(DIST_DIR)/grammars && sh mkLib.sh
|
# cd $(DIST_DIR)/grammars && sh mkLib.sh
|
||||||
cd $(DIST_DIR) && rm -rf $(NOT_IN_DIST)
|
cd $(DIST_DIR) && rm -rf $(NOT_IN_DIST)
|
||||||
$(TAR) -zcf $(DIST_DIR).tgz $(DIST_DIR)
|
$(TAR) -zcf $(DIST_DIR).tgz $(DIST_DIR)
|
||||||
@@ -216,9 +214,7 @@ binary-dist:
|
|||||||
grammar-dist:
|
grammar-dist:
|
||||||
-rm -rf $(GRAMMAR_DIST_DIR)
|
-rm -rf $(GRAMMAR_DIST_DIR)
|
||||||
mkdir $(GRAMMAR_DIST_DIR)
|
mkdir $(GRAMMAR_DIST_DIR)
|
||||||
cvs export -d $(GRAMMAR_DIST_DIR) -rHEAD GF/{lib,examples}
|
cp -r ../_darcs/current/{lib,examples} $(GRAMMAR_DIST_DIR)
|
||||||
mv $(GRAMMAR_DIST_DIR)/GF/* $(GRAMMAR_DIST_DIR)
|
|
||||||
rmdir $(GRAMMAR_DIST_DIR)/GF
|
|
||||||
$(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