blob: c54d96c01306ab9222612b9b9aab112fa288308b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- Makefile.orig Sun Oct 16 15:28:34 2005
+++ Makefile Sun Oct 16 15:29:02 2005
@@ -2,10 +2,10 @@
@echo "\"make install\" and \"make uninstall\" are the only things that work"
install:
- for dir in /usr/local/bin /usr/local/man /usr/local/man/man8; do test -d $$dir || ( mkdir $$dir; chmod 755 $$dir) ; done
- install -c -m 755 ddc /usr/local/bin
- install -c ddc.8 /usr/local/man/man8
+ for dir in ${PREFIX}/bin ${PREFIX}/man ${PREFIX}/man/man8; do test -d $$dir || ( mkdir $$dir; chmod 755 $$dir) ; done
+ install -c -m 755 ddc ${PREFIX}/bin
+ install -c ddc.8 ${PREFIX}/man/man8
uninstall:
- rm /usr/local/bin/ddc
- rm /usr/local/man/man8/ddc.8
+ rm ${PREFIX}/bin/ddc
+ rm ${PREFIX}/man/man8/ddc.8
|