blob: 564e08290456d675b661f30e22dce20d6ae518e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- Makefile 2005-03-02 12:46:07.000000000 +0100
+++ Makefile.new 2005-03-02 13:12:56.657585504 +0100
@@ -3,15 +3,17 @@
#################################################
BIN = tpp
-prefix=/usr/local
-INSPATH= $(prefix)/bin/
-DOCPATH = $(prefix)/share/doc/tpp
-MANPATH = $(prefix)/man/man1
+prefix=/usr
+INSPATH= $(DESTDIR)$(prefix)/bin/
+DOCPATH = $(DESTDIR)$(prefix)/share/doc/tpp
+MANPATH = $(DESTDIR)$(prefix)/man/man1
install :
mkdir -p $(DOCPATH)
install -m644 CHANGES COPYING README THANKS $(DOCPATH)
+ mkdir -p $(MANPATH)
install -m644 doc/tpp.1 $(MANPATH)
+ mkdir -p $(INSPATH)
install tpp.rb $(INSPATH)$(BIN)
mkdir -p $(DOCPATH)/contrib
mkdir -p $(DOCPATH)/examples
|