Do not use prefix inside the binary dist

This commit is contained in:
bringert
2004-06-23 13:23:25 +00:00
parent e5315aa5fd
commit ba9d7ba3e2
2 changed files with 5 additions and 6 deletions

View File

@@ -134,9 +134,10 @@ binary-dist:
./configure --host="$(host)" CPPFLAGS="`lib__readline -I` `lib__ncurses -I`" LDFLAGS="`lib__readline -l` `lib__ncurses -l`"
# make unix gfdoc jar
make gfdoc jar
make prefix=$(BIN_DIST_DIR)/$(prefix) install
$(INSTALL) ../bin/gf util/gfdoc jgf
$(INSTALL) -m 0644 java/gf-java.jar
$(INSTALL) configure $(BIN_DIST_DIR)
$(INSTALL) -m 0644 config.mk.in config.mk jgf.in $(BIN_DIST_DIR)
$(INSTALL) -m 0644 config.mk.in jgf.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

View File

@@ -4,8 +4,6 @@ GF_LIB_DIR=$(libdir)/GF-$(PACKAGE_VERSION)
install:
$(INSTALL) -d $(bindir)
$(INSTALL) ./$(bindir)/* $(bindir)
# overwrite the old one with the newly configured one if there is one
[ -f jgf ] && $(INSTALL) jgf $(bindir)
$(INSTALL) gf gfdoc jgf $(bindir)
$(INSTALL) -d $(GF_LIB_DIR)
$(INSTALL) -m 0644 ./$(GF_LIB_DIR)/* $(GF_LIB_DIR)
$(INSTALL) -m 0644 gf-java.jar $(GF_LIB_DIR)