summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2004-04-08 13:16:58 +0200
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:31 +0100
commit02298a2df4409b3ec0620ded5bcff2c1ae159613 (patch)
tree94b2b98e06fb210b3a092b12998c476c323bf591 /Makefile
parent548793b0a4bb4006db12dc1e4d86b7e7ce2fcd9a (diff)
downloadwhois-02298a2df4409b3ec0620ded5bcff2c1ae159613.tar.gz
Imported Debian version 4.6.13v4.6.13
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7e28a62..b0a0bcc 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,8 @@ LIBIDN += -lidn
CFLAGS += -DHAVE_LIBIDN
endif
+PERL=perl
+
all: whois #pos
whois: whois.c whois.h config.h data.h as_del.h ip_del.h tld_serv.h
@@ -29,13 +31,13 @@ mkpasswd: mkpasswd.c
$(CC) $(CFLAGS) $(OPTS) mkpasswd.c -o mkpasswd -lcrypt
as_del.h: as_del_list make_as_del.pl
- perl make_as_del.pl < as_del_list > as_del.h
+ $(PERL) -w make_as_del.pl < as_del_list > as_del.h
ip_del.h: ip_del_list make_ip_del.pl
- perl make_ip_del.pl < ip_del_list > ip_del.h
+ $(PERL) -w make_ip_del.pl < ip_del_list > ip_del.h
tld_serv.h: tld_serv_list make_tld_serv.pl
- perl make_tld_serv.pl < tld_serv_list > tld_serv.h
+ $(PERL) -w make_tld_serv.pl < tld_serv_list > tld_serv.h
install: whois
install -m 0755 whois $(BASEDIR)$(prefix)/bin/