2553bb808b104ce2efca63da51b0da74d340d016
[openwrt/svn-archive/archive.git] / net / vnstat / patches / 002-no_install_strip.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -54,11 +54,11 @@ install:
4
5 # install everything else
6 install -d -m 755 $(BIN) $(SBIN) $(MAN)/man1 $(MAN)/man5 $(DESTDIR)/var/lib/vnstat
7 - install -s -m 755 src/vnstat $(BIN)
8 - install -s -m 755 src/vnstatd $(SBIN)
9 + install -m 755 src/vnstat $(BIN)
10 + install -m 755 src/vnstatd $(SBIN)
11 @if [ -f "src/vnstati" ]; \
12 - then echo install -s -m 755 src/vnstati $(BIN); \
13 - install -s -m 755 src/vnstati $(BIN); \
14 + then echo install -m 755 src/vnstati $(BIN); \
15 + install -m 755 src/vnstati $(BIN); \
16 fi
17
18 # update man pages, gzip it if previous version was done so
19 @@ -127,12 +127,12 @@ bsdinstall:
20
21 # install binaries
22 install -dm 755 $(DESTDIR)/var/db/vnstat
23 - install -s -m 755 src/vnstat $(BIN_BSD)
24 - install -s -m 755 src/vnstatd $(SBIN_BSD)
25 + install -m 755 src/vnstat $(BIN_BSD)
26 + install -m 755 src/vnstatd $(SBIN_BSD)
27
28 @if [ -f "src/vnstati" ]; \
29 - then echo install -s -m 755 src/vnstati $(BIN_BSD); \
30 - install -s -m 755 src/vnstati $(BIN_BSD); \
31 + then echo install -m 755 src/vnstati $(BIN_BSD); \
32 + install -m 755 src/vnstati $(BIN_BSD); \
33 fi
34
35 # install default config if such doesn't exist