slackbuilds_ponce/development/motor/Makefile.patch
2010-05-11 14:05:52 +02:00

13 lines
529 B
Diff

--- 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: