summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Piper <nicholas@users.sourceforge.net>2006-05-15 07:26:33 +0000
committerNicholas Piper <nicholas@users.sourceforge.net>2006-05-15 07:26:33 +0000
commit74de58ae636ce790cfaf1e1e9e2e75c8fa0f5bfc (patch)
tree230696df85d0c98e689b1bd8a82066cd36292db2
parent728f3b6e7f906b3e1734e0f8bd7db25ca9bf6bdd (diff)
downloadlibgpod-74de58ae636ce790cfaf1e1e9e2e75c8fa0f5bfc.tar.gz
libgpod-74de58ae636ce790cfaf1e1e9e2e75c8fa0f5bfc.tar.xz
libgpod-74de58ae636ce790cfaf1e1e9e2e75c8fa0f5bfc.zip
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
-rw-r--r--bindings/python/Makefile.am13
1 files 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