mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Delete files that should not be in the distribution.
This commit is contained in:
@@ -14,6 +14,11 @@ GHCINCLUDEGFT =-ifor-gft $(BASICINCLUDE)
|
|||||||
WINDOWSINCLUDE =-ifor-windows $(BASICINCLUDE)
|
WINDOWSINCLUDE =-ifor-windows $(BASICINCLUDE)
|
||||||
|
|
||||||
DIST_DIR=GF-$(PACKAGE_VERSION)
|
DIST_DIR=GF-$(PACKAGE_VERSION)
|
||||||
|
NOT_IN_DIST= \
|
||||||
|
from-peb \
|
||||||
|
grammars/resource \
|
||||||
|
src/parsing \
|
||||||
|
src/conversions
|
||||||
|
|
||||||
all: unix
|
all: unix
|
||||||
|
|
||||||
@@ -99,10 +104,12 @@ tracing:
|
|||||||
mv gf2 ../bin/
|
mv gf2 ../bin/
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
|
-rm -rf $(DIST_DIR)
|
||||||
mkdir $(DIST_DIR)
|
mkdir $(DIST_DIR)
|
||||||
cvs export -d $(DIST_DIR) -rHEAD GF2.0
|
cvs export -d $(DIST_DIR) -rHEAD GF2.0
|
||||||
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 {} ';'
|
find $(DIST_DIR) -name .cvsignore -exec rm -f {} ';'
|
||||||
|
cd $(DIST_DIR) && rm -rf $(NOT_IN_DIST)
|
||||||
tar -zcf $(DIST_DIR).tar.gz $(DIST_DIR)
|
tar -zcf $(DIST_DIR).tar.gz $(DIST_DIR)
|
||||||
zip -r $(DIST_DIR).zip $(DIST_DIR)
|
zip -r $(DIST_DIR).zip $(DIST_DIR)
|
||||||
rm -rf $(DIST_DIR)
|
rm -rf $(DIST_DIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user