Update of /cvsroot/gtkpod/libgpod/bindings/python
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32672

Modified Files:
        Makefile.am 
Log Message:
Install Python libraries to pyexecdir instead; which is not equal to pythondir 
on 64bit arch. Thanks to Todd Zullinger

Index: Makefile.am
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/bindings/python/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile.am 11 Dec 2006 23:51:15 -0000      1.11
+++ Makefile.am 13 Dec 2006 09:40:09 -0000      1.12
@@ -35,14 +35,14 @@
        $(CC) $(MODULE_LIBS) @PYTHON_LDFLAGS@ gpod_wrap.o -o $@
 
 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/", ddir="$(pythondir)/gpod/")'
-       $(PYTHON) -O -c 'from compileall import compile_dir; 
compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
+       $(mkinstalldirs) $(DESTDIR)$(pyexecdir)/gpod
+       $(INSTALL_PROGRAM) _gpod.so  $(DESTDIR)$(pyexecdir)/gpod/_gpod.so
+       $(INSTALL_DATA) *.py         $(DESTDIR)$(pyexecdir)/gpod/
+       $(PYTHON) -c 'from compileall import compile_dir; 
compile_dir("$(DESTDIR)$(pyexecdir)/gpod/", ddir="$(pyexecdir)/gpod/")'
+       $(PYTHON) -O -c 'from compileall import compile_dir; 
compile_dir("$(DESTDIR)$(pyexecdir)/gpod/", ddir="$(pyexecdir)/gpod/")'
 
 uninstall-pythonDATA: $(python_DATA)
-       rm -rf $(DESTDIR)$(pythondir)/gpod
+       rm -rf $(DESTDIR)$(pyexecdir)/gpod
 
 README: README.in gpod.i
        WRAPPER_LIST=`grep 'PyObject\* sw_[^_].*;' gpod.i | awk -F "[ (]" '{ 
print $$2 }' | tr '\n' ' ' | sort -u`; \


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to