Fix installation for devs.
This commit is contained in:
parent
2f1c58fa67
commit
f8e4fc57bd
1 changed files with 6 additions and 6 deletions
12
Makefile
12
Makefile
|
@ -109,8 +109,8 @@ install-bin:
|
||||||
for binfile in bin/*.rb ; do \
|
for binfile in bin/*.rb ; do \
|
||||||
BINFILE=`basename $$binfile |sed -e 's/.rb$$//'`; \
|
BINFILE=`basename $$binfile |sed -e 's/.rb$$//'`; \
|
||||||
install -D -o root -g root -m 755 $$binfile $(BINDIR)/$$BINFILE; \
|
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_INCLUDE_DIR.*|QASIM_INCLUDE_DIR = "$(SHAREDIR)/$(NAME)/lib"|' $(BINDIR)/$$BINFILE; \
|
||||||
sed -i -e 's|^QASIM_DATA_DIR.*|QASIM_DATA_DIR = "/usr/share/$(NAME)"|' $(BINDIR)/$$BINFILE; \
|
sed -i -e 's|^QASIM_DATA_DIR.*|QASIM_DATA_DIR = "$(SHAREDIR)/$(NAME)"|' $(BINDIR)/$$BINFILE; \
|
||||||
done
|
done
|
||||||
#install -D -o root -g root -m 755 $(CURDIR)/bin/$(NAME)-gui.rb $(BINDIR)/$(NAME)-gui
|
#install -D -o root -g root -m 755 $(CURDIR)/bin/$(NAME)-gui.rb $(BINDIR)/$(NAME)-gui
|
||||||
|
|
||||||
|
@ -166,8 +166,8 @@ install-data:
|
||||||
|
|
||||||
## OTHER
|
## OTHER
|
||||||
|
|
||||||
.PHONY: destdir
|
.PHONY: tmp/destdir
|
||||||
destdir:
|
dev-install:
|
||||||
rm -fr destdir
|
rm -fr tmp/destdir
|
||||||
fakeroot $(MAKE) install DESTDIR=destdir
|
fakeroot $(MAKE) install DESTDIR=tmp/destdir
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue