summaryrefslogtreecommitdiffstats
path: root/testing/setserial/setserial.patch
blob: 3cce1f07d38e9b48fb7e1f651afaf87c4a3ec803 (plain)
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
26
27
28
diff -ur setserial-2.17/Makefile.in setserial-2.17-new/Makefile.in
--- setserial-2.17/Makefile.in	2000-01-27 16:39:07.000000000 +0100
+++ setserial-2.17-new/Makefile.in	2005-03-09 20:53:31.000000000 +0100
@@ -17,6 +17,11 @@
 INCS = -I.
 TAR = tar
 
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir=@bindir@
+mandir=@mandir@
+
 all: setserial setserial.cat
 
 setserial: setserial.c
@@ -26,9 +31,9 @@
 	nroff -man setserial.8 > setserial.cat
 
 install: setserial setserial.8
-	$(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
-	$(STRIP) $(DESTDIR)/bin/setserial
-	$(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
+	$(INSTALL_PROGRAM) setserial $(DESTDIR)$(bindir)
+	$(STRIP) $(DESTDIR)$(bindir)/setserial
+	$(INSTALL_DATA) setserial.8 $(DESTDIR)$(mandir)/man8
 
 clean:
 	$(RM) setserial setserial.o setserial.cat *~