summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Piper <nicholas@users.sourceforge.net>2006-05-17 08:18:26 +0000
committerNicholas Piper <nicholas@users.sourceforge.net>2006-05-17 08:18:26 +0000
commit961970ebcf07c9c986958d6e36b31e136c7947b2 (patch)
tree31582b02b355bf777e7a759668dbf7a66b2a72f4
parentedb22fa323c064ace254977085c9f6abc7fa8da8 (diff)
downloadlibgpod-961970ebcf07c9c986958d6e36b31e136c7947b2.tar.gz
libgpod-961970ebcf07c9c986958d6e36b31e136c7947b2.tar.xz
libgpod-961970ebcf07c9c986958d6e36b31e136c7947b2.zip
Have errors reported with the correct path for anyone that's building packages and using DESTDIR. Thanks to Todd Zullinger.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1267 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--bindings/python/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index e484ab1..976689a 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -34,8 +34,8 @@ install-pythonDATA: $(python_DATA)
$(mkinstalldirs) $(DESTDIR)$(pythondir)/gpod
$(INSTALL_PROGRAM) _gpod.so $(DESTDIR)$(pythondir)/gpod/_gpod.so
$(INSTALL_DATA) *.py $(DESTDIR)$(pythondir)/gpod/
- $(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/")'
- $(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/")'
+ $(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
+ $(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
uninstall-pythonDATA: $(python_DATA)
rm -rf $(DESTDIR)$(pythondir)/gpod