From 055c0d0d5a5bb0dc75904fe53df7f2e4f5732a8f Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 21 May 2008 09:26:44 +0000 Subject: 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 --- src-3.0/Makefile.binary | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src-3.0/Makefile.binary (limited to 'src-3.0/Makefile.binary') diff --git a/src-3.0/Makefile.binary b/src-3.0/Makefile.binary new file mode 100644 index 000000000..ab52185fd --- /dev/null +++ b/src-3.0/Makefile.binary @@ -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) -- cgit v1.2.3