blob: dfec57bbd8b2b4e164d0c9efac5945dad618ab68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -Naur plotnetcfg-0.4.1.raw/Makefile plotnetcfg-0.4.1/Makefile
--- plotnetcfg-0.4.1/Makefile 2015-07-27 11:07:56.000000000 +0200
+++ plotnetcfg-0.4.1.patched/Makefile 2017-01-28 13:32:02.860196078 +0100
@@ -4,7 +4,7 @@
libs=$(jansson)/src/.libs/libjansson.a
INCLUDE=-I$(jansson)/src
endif
-CFLAGS=-W -Wall $(INCLUDE)
+CFLAGS+=$(INCLUDE)
all: check-libs plotnetcfg
@@ -46,8 +46,8 @@
rm -f version.h *.o frontends/*.o handlers/*.o plotnetcfg
install: plotnetcfg
- install -d $(DESTDIR)/usr/sbin/
- install plotnetcfg $(DESTDIR)/usr/sbin/
+ install -d $(DESTDIR)/usr/bin/
+ install plotnetcfg $(DESTDIR)/usr/bin/
install -d $(DESTDIR)/usr/share/man/man8/
install -d $(DESTDIR)/usr/share/man/man5/
install -m 644 plotnetcfg.8 $(DESTDIR)/usr/share/man/man8/
|