summaryrefslogtreecommitdiffstats
path: root/development/motor/Makefile.patch
blob: 73dc52797aa8c8ec7995cb45a6c9f1ad9352d492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- share/Makefile.orig	2007-02-11 09:56:05.000000000 -0500
+++ share/Makefile	2007-02-11 09:56:41.000000000 -0500
@@ -225,8 +225,8 @@
 	-if test -d templates; then rm -f tmpl.tar.gz; fi
 
 install-data-local: tmpl.tar.gz
-	tar zxvf tmpl.tar.gz -C $(datadir)/motor/
-	-find $(datadir)/motor/ -name CVS -type d -exec rm -rf {} \;
+	tar zxvf tmpl.tar.gz -C ${DESTDIR}/$(datadir)/motor/
+	-find ${DESTDIR}/$(datadir)/motor/ -name CVS -type d -exec rm -rf {} \;
 	if test -d templates; then rm -f tmpl.tar.gz; fi
 
 uninstall-local: