summaryrefslogtreecommitdiffstats
path: root/bindings/python
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
commit33a2c91d52c1a38f003bc8dfca082acfb2fca5a0 (patch)
tree31582b02b355bf777e7a759668dbf7a66b2a72f4 /bindings/python
parent141fa786c37e3d98194a4645d6ba4657a2f00c1b (diff)
downloadlibgpod-33a2c91d52c1a38f003bc8dfca082acfb2fca5a0.tar.gz
libgpod-33a2c91d52c1a38f003bc8dfca082acfb2fca5a0.tar.xz
libgpod-33a2c91d52c1a38f003bc8dfca082acfb2fca5a0.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
Diffstat (limited to 'bindings/python')
-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