summaryrefslogtreecommitdiff
blob: 34b7bf4dfde16acab144e86beee2f52d9fe91edc (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
25
26
27
28
diff -urN tpp-1.3.orig/Makefile tpp-1.3/Makefile
--- tpp-1.3.orig/Makefile	2005-06-12 04:39:10.000000000 -0700
+++ tpp-1.3/Makefile	2005-07-12 03:46:05.000000000 -0700
@@ -3,10 +3,10 @@
 #################################################
 
 BIN = tpp  
-prefix=/usr/local
-INSPATH= $(prefix)/bin/
-DOCPATH = $(prefix)/share/doc/tpp
-MANPATH = $(prefix)/share/man/man1
+prefix=/usr
+INSPATH= $(DESTDIR)$(prefix)/bin/
+DOCPATH = $(DESTDIR)$(prefix)/share/doc/tpp
+MANPATH = $(DESTDIR)$(prefix)/share/man/man1
 
 all:
 	@echo "TPP doesn't need to be built. Run \`make install' in order to install it."
@@ -14,7 +14,9 @@
 install :
 	mkdir -p $(DOCPATH)	
 	install -m644 DESIGN 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