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