summaryrefslogtreecommitdiff
blob: b09c7cfdbfcf6a80d160c10a7e7a31b7ef8aa390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -urN verisign-dnscap-727ed7d.orig/Makefile.in verisign-dnscap-727ed7d/Makefile.in
--- verisign-dnscap-727ed7d.orig/Makefile.in	2013-08-14 01:31:33.000000000 +0200
+++ verisign-dnscap-727ed7d/Makefile.in	2014-04-26 22:04:35.438580361 +0200
@@ -45,13 +45,11 @@
 all: ${prog} ${prog}.cat1
 
 install: all
-	install -d -m 755 ${bindir}
-	if [ -f ${bindir}/${prog} ]; then \
-		mv -f ${bindir}/${prog} ${bindir}/${prog}.old; fi
-	install -m 755 ${prog} ${bindir}/
-	install -d -m 755 ${mandir}
-	install -d -m 755 ${mandir}/cat1
-	install -m 644 ${prog}.cat1 ${mandir}/cat1/${prog}.1
+	install -d -m 755 $(DESTDIR)${bindir}
+	install -m 755 ${prog} $(DESTDIR)${bindir}/
+	install -d -m 755 $(DESTDIR)${mandir}
+	install -d -m 755 $(DESTDIR)${mandir}/cat1
+	install -m 644 ${prog}.cat1 $(DESTDIR)${mandir}/cat1/${prog}.1
 
 .c.o:
 	${CC} ${CFLAGS} -c $<