aboutsummaryrefslogtreecommitdiff
path: root/dns/checkdns/files/patch-Makefile
blob: 292bbd778510b30c6b9d2ef5241de20ea8610e96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- Makefile.orig	Sat Jan 15 21:40:27 2005
+++ Makefile	Fri May 20 23:12:20 2005
@@ -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/checkdns.conf
+	mkdir -p ${PREFIX}/share/checkdns/lang
+	cp -f README THANKS TODO AUTHORS COPYING INSTALL ChangeLog uninstall.sh ${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