]>
Commit | Line | Data |
---|---|---|
a2e14977 | 1 | --- whois-4.6.9/Makefile.orig 2003-12-01 18:03:18.000000000 +0000 |
2 | +++ whois-4.6.9/Makefile 2003-12-02 15:48:05.000000000 +0000 | |
53e274ef | 3 | @@ -1,4 +1,6 @@ |
a2e14977 | 4 | -prefix ?= /usr/local |
5 | +prefix ?=/usr | |
53e274ef | 6 | +bindir=$(prefix)/bin |
9d157919 | 7 | +mandir=/usr/share/man |
8 | ||
9 | OPTS=-O2 | |
10 | ||
a2e14977 | 11 | @@ -38,12 +40,12 @@ |
9d157919 | 12 | perl make_tld_serv.pl < tld_serv_list > tld_serv.h |
13 | ||
14 | install: whois | |
53e274ef | 15 | - install -m 0755 whois $(BASEDIR)$(prefix)/bin/ |
16 | - strip $(BASEDIR)$(prefix)/bin/whois | |
072bea1f | 17 | - install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/ |
53e274ef | 18 | + install -d $(DESTDIR)$(bindir) |
19 | + install -d $(DESTDIR)$(mandir)/man1 | |
20 | + install -s -m 0755 whois $(DESTDIR)$(bindir) | |
21 | + install -m 0644 whois.1 $(DESTDIR)$(mandir)/man1 | |
9d157919 | 22 | cd po && $(MAKE) $@ |
9d157919 | 23 | |
072bea1f | 24 | - |
9d157919 | 25 | distclean: clean |
26 | rm -f po/whois.pot | |
072bea1f | 27 | |
a2e14977 | 28 | |
29 | diff -Nru whois-4.6.9/po/Makefile whois-4.6.9.new/po/Makefile | |
30 | --- whois-4.6.9/po/Makefile 2003-06-15 16:46:16.000000000 +0000 | |
31 | +++ whois-4.6.9.new/po/Makefile 2003-12-02 15:55:37.000000000 +0000 | |
9d157919 | 32 | @@ -1,5 +1,5 @@ |
33 | INSTALL= /usr/bin/install -c | |
34 | -INSTALLNLSDIR=$(BASEDIR)/usr/share/locale | |
35 | +INSTALLNLSDIR=$(DESTDIR)/usr/share/locale | |
a2e14977 | 36 | |
9d157919 | 37 | PACKAGE = whois |
a2e14977 | 38 |