--- Makefile.orig 2008-05-06 11:41:16.000000000 +0200 +++ Makefile 2008-08-21 13:25:03.000000000 +0200 @@ -1,6 +1,9 @@ prefix = %%PREFIX%% -CFLAGS = -g -O2 +LDFLAGS+=-L%%LOCALBASE%%/lib -lintl +CFLAGS+=-I%%LOCALBASE%%/include + +CFLAGS += -g -O2 PERL = perl @@ -63,22 +66,22 @@ $(PERL) -w make_tld_serv.pl < tld_serv_list > $@ ############################################################################## -install: install-whois install-mkpasswd install-pos +install: install-whois install-mkpasswd 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 $(prefix)/man/man1/ + install -m 0755 whois $(prefix)/bin/ + install -m 0644 whois.1 $(prefix)/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)/man/man1/ + install -m 0755 mkpasswd $(prefix)/bin/ + install -m 0644 mkpasswd.1 $(prefix)/man/man1/ -install-pos: - cd po && $(MAKE) $@ +#install-pos: +# cd po && $(MAKE) $@ distclean: clean rm -f po/whois.pot