]> git.pld-linux.org Git - packages/whois.git/blob - whois-Makefile.patch
- fixed version, minor cleanup
[packages/whois.git] / whois-Makefile.patch
1 diff -Nru whois-4.4.5/Makefile whois-4.4.5.new/Makefile
2 --- whois-4.4.5/Makefile        Sat Dec 18 20:59:15 1999
3 +++ whois-4.4.5.new/Makefile    Thu Dec 30 21:41:46 1999
4 @@ -1,4 +1,6 @@
5 -prefix=/usr/local
6 +prefix=/usr
7 +bindir=$(prefix)/bin
8 +mandir=/usr/share/man
9  
10  OPTS=-O2
11  
12 @@ -26,11 +28,11 @@
13         perl make_tld_serv.pl < tld_serv_list > tld_serv.h
14  
15  install: whois
16 -       install -m 0755 whois $(BASEDIR)$(prefix)/bin/
17 -       strip $(BASEDIR)$(prefix)/bin/whois
18 -       install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/
19 +       install -d $(DESTDIR)$(bindir)
20 +       install -d $(DESTDIR)$(mandir)/man1
21 +       install -s -m 0755 whois $(DESTDIR)$(bindir)
22 +       install -m 0644 whois.1 $(DESTDIR)$(mandir)/man1
23         cd po && $(MAKE) $@
24 -
25  
26  distclean: clean
27         rm -f po/whois.pot
28 diff -Nru whois-4.4.5/po/Makefile whois-4.4.5.new/po/Makefile
29 --- whois-4.4.5/po/Makefile     Sat Dec 18 20:49:31 1999
30 +++ whois-4.4.5.new/po/Makefile Thu Dec 30 21:31:15 1999
31 @@ -1,5 +1,5 @@
32  INSTALL= /usr/bin/install -c
33 -INSTALLNLSDIR=$(BASEDIR)/usr/share/locale
34 +INSTALLNLSDIR=$(DESTDIR)/usr/share/locale
35  
36  PACKAGE = whois
37  
This page took 0.085339 seconds and 3 git commands to generate.