summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2007-10-30 11:06:25 +0100
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:35 +0100
commit2551e961c2d9be50c9787a18a0772dff558d9a03 (patch)
tree45feeaffe6fd60a3dd43df03f2682a9177d66756 /Makefile
parentc3c46b20b8b1f7c5111daff0b45e56d8ba64ac7b (diff)
downloadwhois-2551e961c2d9be50c9787a18a0772dff558d9a03.tar.gz
Imported Debian version 4.7.24v4.7.24
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 47cb17c..dfa79c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-prefix ?= /usr/local
+prefix = /usr/local
OPTS := -O2
@@ -53,11 +53,15 @@ tld_serv.h: tld_serv_list make_tld_serv.pl
$(PERL) -w make_tld_serv.pl < tld_serv_list > $@
install: whois
+ install -d $(BASEDIR)$(prefix)/bin/
+ install -d $(BASEDIR)$(prefix)/share/man/man1/
install -m 0755 whois $(BASEDIR)$(prefix)/bin/
install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
cd po && $(MAKE) $@
install-mkpasswd: mkpasswd
+ install -d $(BASEDIR)$(prefix)/bin/
+ install -d $(BASEDIR)$(prefix)/share/man/man1/
install -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
install -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/