summaryrefslogtreecommitdiffstats
path: root/vnstati/Makefile.patch
blob: e99590407c728358899eeca27c2134f847ffcd7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile	2009-01-02 10:40:22.000000000 +0100
+++ Makefile.new	2009-01-02 10:42:30.000000000 +0100
@@ -12,10 +12,10 @@
 	@echo "Installing vnStat image output..."
 
 # update man page and gzip it
-	install -m 644 man/vnstati.1 $(MAN)/man1
+	install -D -m 644 man/vnstati.1 $(MAN)/man1/vnstati.1
 	gzip -f9 $(MAN)/man1/vnstati.1
 
-	install -s -m 755 src/vnstati $(BIN)
+	install -D -s -m 755 src/vnstati $(BIN)/vnstati
 
 uninstall:
 	@echo "Uninstalling vnStat image output..."