core/speech-dispatcher/spd-respect-DESTDIR.diff
2010-05-24 15:40:27 +00:00

18 lines
557 B
Diff

diff -r 8419336df61b src/python/Makefile.in
--- a/src/python/Makefile.in Tue Sep 30 15:57:49 2008 -0500
+++ b/src/python/Makefile.in Tue Sep 30 16:51:56 2008 -0500
@@ -13,11 +13,11 @@
install:
if test -x /usr/bin/python; then \
- ./setup.py install --prefix=${prefix}; \
+ ./setup.py install --prefix=${DESTDIR}${prefix}; \
else \
echo "Python not found, not installing speechd module nor spd-conf"; \
fi
- cp speechd_config/test.wav @snddatadir@
+ cp speechd_config/test.wav ${DESTDIR}@snddatadir@
uninstall:
rm -f @snddatadir@/test.wav