From 74de58ae636ce790cfaf1e1e9e2e75c8fa0f5bfc Mon Sep 17 00:00:00 2001 From: Nicholas Piper Date: Mon, 15 May 2006 07:26:33 +0000 Subject: Stop having to list each python file in the gpod module; thanks to Todd Zullinger git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1262 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- bindings/python/Makefile.am | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index 381df7e..e484ab1 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -33,16 +33,9 @@ _gpod.so: gpod_wrap.o install-pythonDATA: $(python_DATA) $(mkinstalldirs) $(DESTDIR)$(pythondir)/gpod $(INSTALL_PROGRAM) _gpod.so $(DESTDIR)$(pythondir)/gpod/_gpod.so - $(INSTALL_DATA) __init__.py $(DESTDIR)$(pythondir)/gpod/__init__.py - $(INSTALL_DATA) gpod.py $(DESTDIR)$(pythondir)/gpod/gpod.py - $(INSTALL_DATA) gtkpod.py $(DESTDIR)$(pythondir)/gpod/gtkpod.py - $(INSTALL_DATA) ipod.py $(DESTDIR)$(pythondir)/gpod/ipod.py - $(PYTHON) -c 'from py_compile import compile; compile("$(DESTDIR)$(pythondir)/gpod/gpod.py")' - $(PYTHON) -O -c 'from py_compile import compile; compile("$(DESTDIR)$(pythondir)/gpod/gpod.py")' - $(PYTHON) -c 'from py_compile import compile; compile("$(DESTDIR)$(pythondir)/gpod/gtkpod.py")' - $(PYTHON) -O -c 'from py_compile import compile; compile("$(DESTDIR)$(pythondir)/gpod/gtkpod.py")' - $(PYTHON) -c 'from py_compile import compile; compile("$(DESTDIR)$(pythondir)/gpod/ipod.py")' - $(PYTHON) -O -c 'from py_compile import compile; compile("$(DESTDIR)$(pythondir)/gpod/ipod.py")' + $(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/")' uninstall-pythonDATA: $(python_DATA) rm -rf $(DESTDIR)$(pythondir)/gpod -- cgit