diff options
author | Marco d'Itri <md@linux.it> | 2008-12-09 02:08:35 +0100 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2013-03-30 02:31:36 +0100 |
commit | bd837394e6557fba50f55a93e7dc5390d2879638 (patch) | |
tree | f8cad4bd0976191cb7603e4a9cd28ca57d6606c5 /Makefile | |
parent | 8032d7b7f67fe2d2d64645f45d5cccb6440fc393 (diff) | |
download | whois-4.7.29.tar.gz |
Imported Debian version 4.7.29v4.7.29
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
@@ -1,8 +1,9 @@ -prefix = /usr/local +prefix = /usr CFLAGS = -g -O2 PERL = perl +INSTALL = install # Solaris #whois_LDADD += -lnsl -lsocket @@ -19,6 +20,10 @@ ifdef CONFIG_FILE DEFS += -DCONFIG_FILE=\"$(CONFIG_FILE)\" endif +ifdef LOCALEDIR +DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\" +endif + ifdef HAVE_LIBIDN whois_LDADD += -lidn DEFS += -DHAVE_LIBIDN @@ -63,22 +68,22 @@ tld_serv.h: tld_serv_list make_tld_serv.pl $(PERL) -w make_tld_serv.pl < tld_serv_list > $@ ############################################################################## -install: install-whois install-mkpasswd install-pos +install: install-whois install-mkpasswd #install-pos install-whois: 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/ + $(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/ 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/ + $(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/ install-pos: - cd po && $(MAKE) $@ + cd po && $(MAKE) install distclean: clean rm -f po/whois.pot |