--- Makefile.orig Fri Nov 10 00:41:08 2006 +++ Makefile Fri Nov 10 00:41:25 2006 @@ -9,7 +9,15 @@ $(CC) -o checkdns $(OBJS) install: - cp checkdns /usr/local/bin/checkdns + cp checkdns ${PREFIX}/bin/checkdns + chown root ${PREFIX}/bin/checkdns + chmod 700 ${PREFIX}/bin/checkdns + cp -pf checkdns.conf-dist ${PREFIX}/etc/ + mkdir -p ${PREFIX}/share/checkdns/lang + cp -f checkdns.css ${PREFIX}/share/checkdns + cp -f lang/* ${PREFIX}/share/checkdns/lang + + clean: rm -f $(OBJS) checkdns @@ -17,4 +25,4 @@ uninstall: clean rm /usr/local/bin/checkdns -all: compile install clean +all: compile