summaryrefslogtreecommitdiff
path: root/debian/patches/makefile
blob: f807762079a69b92678ccf76d26d98b5b5db5639 (plain)
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
@@ -29,11 +29,15 @@
 	
 linbpq: $(OBJS)
 	gcc $(OBJS) -Xlinker -Map=output.map -l:libminiupnpc.a -lrt -lm -lz -lpthread -lconfig -lpcap -o linbpq
-	sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq		
+#	setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq		
+
+install: 
+	install -b -m 755  -D -d		debian/linbpq/usr/sbin
+	install -b -m 755  -s -p linbpq		debian/linbpq/usr/sbin
 
 -include *.d
 
 clean :
-	rm *.d
-	rm linbpq $(OBJS)
+	$(RM) *.d
+	$(RM) linbpq $(OBJS)