summaryrefslogtreecommitdiff
blob: df3ff990d047af9e26f26165d4a112d8ec962a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.orig	2006-01-12 08:51:23.000000000 -0500
+++ Makefile	2006-01-12 08:52:08.000000000 -0500
@@ -12,9 +12,9 @@
 
 PREFIX=/usr/local
 install:
-	cp -f ZenTest.rb $(RUBY_BIN)/ZenTest
-	cp -f unit_diff.rb $(RUBY_BIN)/unit_diff
-	chmod 555 $(RUBY_BIN)/ZenTest $(RUBY_BIN)/unit_diff
+	cp -f ZenTest.rb ${DESTDIR}/$(RUBY_BIN)/ZenTest
+	cp -f unit_diff.rb ${DESTDIR}/$(RUBY_BIN)/unit_diff
+	chmod 555 ${DESTDIR}/$(RUBY_BIN)/ZenTest ${DESTDIR}/$(RUBY_BIN)/unit_diff
 
 uninstall:
 	rm -f $(RUBY_BIN)/ZenTest $(RUBY_BIN)/unit_diff