From f8e4fc57bd51c83f8c9dc4c3f22c6600e03a2148 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 21 Jun 2013 14:25:03 +0200 Subject: [PATCH] Fix installation for devs. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 75a40a3..b9e2817 100644 --- a/Makefile +++ b/Makefile @@ -109,8 +109,8 @@ install-bin: for binfile in bin/*.rb ; do \ BINFILE=`basename $$binfile |sed -e 's/.rb$$//'`; \ install -D -o root -g root -m 755 $$binfile $(BINDIR)/$$BINFILE; \ - sed -i -e 's|^QASIM_INCLUDE_DIR.*|QASIM_INCLUDE_DIR = "/usr/share/$(NAME)/lib"|' $(BINDIR)/$$BINFILE; \ - sed -i -e 's|^QASIM_DATA_DIR.*|QASIM_DATA_DIR = "/usr/share/$(NAME)"|' $(BINDIR)/$$BINFILE; \ + sed -i -e 's|^QASIM_INCLUDE_DIR.*|QASIM_INCLUDE_DIR = "$(SHAREDIR)/$(NAME)/lib"|' $(BINDIR)/$$BINFILE; \ + sed -i -e 's|^QASIM_DATA_DIR.*|QASIM_DATA_DIR = "$(SHAREDIR)/$(NAME)"|' $(BINDIR)/$$BINFILE; \ done #install -D -o root -g root -m 755 $(CURDIR)/bin/$(NAME)-gui.rb $(BINDIR)/$(NAME)-gui @@ -166,8 +166,8 @@ install-data: ## OTHER -.PHONY: destdir -destdir: - rm -fr destdir - fakeroot $(MAKE) install DESTDIR=destdir +.PHONY: tmp/destdir +dev-install: + rm -fr tmp/destdir + fakeroot $(MAKE) install DESTDIR=tmp/destdir