summarylogtreecommitdiffstats
path: root/patch
blob: 7afcf8bae265af8aea3eb7f2679c66443f40ee51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Makefile	2010-09-15 00:08:25.350002524 -0500
+++ Makefile-new	2010-09-15 00:10:01.210002523 -0500
@@ -24,8 +24,9 @@
 	
 
 install: pipemeter pipemeter.1
-	install -p -s pipemeter $(PREFIX)/bin
-	install -p pipemeter.1 $(PREFIX)/man/man1
+	install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
+	install -p -s pipemeter $(DESTDIR)$(PREFIX)/bin/
+	install -p pipemeter.1 $(DESTDIR)$(PREFIX)/share/man/man1/
 
 dist: pipemeter
 	sh pkgpipemeter.sh