Package: parprouted / 0.70-2

DESTDIR-in-Makefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
 EXTRA_CFLAGS = 
 
+PREFIX = $(DESTDIR)/usr
+
 #CC = gcc
 
 CFLAGS = -g -O2 -Wall $(EXTRA_CFLAGS)
@@ -13,8 +15,8 @@ LIBS = -lpthread
 all: parprouted
 
 install: all
-	install parprouted /usr/local/sbin
-	install parprouted.8 /usr/local/man/man8
+	install parprouted $(PREFIX)/sbin
+	install parprouted.8 $(PREFIX)/share/man/man8
 
 clean:
 	rm -f $(OBJS) parprouted core