forked from GitHub/gf-core
GF/src is now for 2.9, and the new sources are in src-3.0 - keep it this way until the release of GF 3
This commit is contained in:
23
src-3.0/Makefile.binary
Normal file
23
src-3.0/Makefile.binary
Normal file
@@ -0,0 +1,23 @@
|
||||
include config.mk
|
||||
|
||||
GF_DATA_DIR=$(datadir)/GF-$(PACKAGE_VERSION)
|
||||
GF_LIB_DIR=$(GF_DATA_DIR)/lib
|
||||
|
||||
.PHONY: install uninstall
|
||||
|
||||
install:
|
||||
$(INSTALL) -d $(bindir)
|
||||
$(INSTALL) gf$(EXEEXT) gfdoc$(EXEEXT) jgf gfeditor $(bindir)
|
||||
$(INSTALL) -d $(GF_DATA_DIR)
|
||||
$(INSTALL) -m 0644 gf-java.jar $(GF_DATA_DIR)
|
||||
$(INSTALL) -m 0644 gfeditor.jar $(GF_DATA_DIR)
|
||||
cp -r lib $(GF_DATA_DIR)
|
||||
|
||||
uninstall:
|
||||
-rm -f $(bindir)/gf$(EXEEXT) $(bindir)/gfdoc$(EXEEXT) $(bindir)/jgf $(bindir)/gfeditor
|
||||
-rm -f $(GF_DATA_DIR)/gf-java.jar
|
||||
-rm -f $(GF_DATA_DIR)/gfeditor.jar
|
||||
-rm -f $GF_LIB_DIR)/*/*.gf{c,r,cm}
|
||||
-rmdir $(GF_LIB_DIR)/*
|
||||
-rmdir $(GF_LIB_DIR)
|
||||
-rmdir $(GF_DATA_DIR)
|
||||
Reference in New Issue
Block a user