Fix binary-dist to include gfc and exclude compiled grammars, since the latter didn't work anyway. NOTE: you must re-run autoconf (actually the previous patch is the one that requires this).

This commit is contained in:
bjorn
2008-09-11 08:35:17 +00:00
parent 8a0e9077ce
commit 92ffc5072a
2 changed files with 5 additions and 3 deletions

View File

@@ -205,13 +205,14 @@ binary-dist:
mkdir $(BIN_DIST_DIR)
mkdir $(BIN_DIST_DIR)/lib
./configure --host="$(host)" --build="$(build)"
$(MAKE) all gfdoc
$(MAKE) gfc gfdoc
$(INSTALL) ../bin/$(GF_EXE) tools/$(GF_DOC_EXE) $(BIN_DIST_DIR)
$(INSTALL) configure config.guess config.sub install-sh $(BIN_DIST_DIR)
$(INSTALL) configure config.guess config.sub install-sh config.mk.in $(BIN_DIST_DIR)
$(INSTALL) gfc.in $(BIN_DIST_DIR)
$(INSTALL) -m 0644 ../README ../LICENSE $(BIN_DIST_DIR)
$(INSTALL) -m 0644 INSTALL.binary $(BIN_DIST_DIR)/INSTALL
$(INSTALL) -m 0644 Makefile.binary $(BIN_DIST_DIR)/Makefile
$(TAR) -C $(BIN_DIST_DIR)/lib -zxf ../lib/compiled.tgz
# $(TAR) -C $(BIN_DIST_DIR)/lib -zxf ../lib/compiled.tgz
$(TAR) -zcf GF-$(PACKAGE_VERSION)-$(host).tgz $(BIN_DIST_DIR)
rm -rf $(BIN_DIST_DIR)

View File

@@ -8,6 +8,7 @@ GF_LIB_DIR=$(GF_DATA_DIR)/lib
install:
$(INSTALL) -d $(bindir)
$(INSTALL) gf$(EXEEXT) gfdoc$(EXEEXT) $(bindir)
$(INSTALL) gfc$(EXEEXT) $(bindir)
$(INSTALL) -d $(GF_DATA_DIR)
cp -r lib $(GF_DATA_DIR)