From 33a2c91d52c1a38f003bc8dfca082acfb2fca5a0 Mon Sep 17 00:00:00 2001 From: Nicholas Piper Date: Wed, 17 May 2006 08:18:26 +0000 Subject: 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 --- bindings/python/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings/python') 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 -- cgit