Change DESTDIR in makefile.

This commit is contained in:
Glenn Y. Rolland 2014-05-19 09:51:12 +02:00
parent 554566674f
commit 11c5632c21

View file

@ -1,12 +1,12 @@
NAME=qasim NAME=qasim
DESTDIR=/usr/local DESTDIR=
DEV_DESTDIR=tmp DEV_DESTDIR=tmp
CONFDIR=$(DESTDIR)/etc CONFDIR=$(DESTDIR)/etc
BINDIR=$(DESTDIR)/bin BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/share/man MANDIR=$(DESTDIR)/usr/share/man
DOCDIR=$(DESTDIR)/share/doc DOCDIR=$(DESTDIR)/usr/share/doc
SHAREDIR=$(DESTDIR)/share SHAREDIR=$(DESTDIR)/usr/share
RUBYVERSION=2.0 RUBYVERSION=2.0
RDOC=rdoc$(RUBYVERSION) RDOC=rdoc$(RUBYVERSION)
@ -107,7 +107,7 @@ clean-bin:
build-bin: build-bin:
install-bin: install-bin:
set env |sort
mkdir -p $(BINDIR) mkdir -p $(BINDIR)
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$$//'`; \