[gnome-doc-utils] [xml2po] Fix Makefile.am to byte-compile Python files (Fixes #596702)



commit cef4b8b36a015e88e8df2b9890b06f2d42af2fe1
Author: Daniel Macks <dmacks netspace org>
Date:   Thu Oct 1 15:13:00 2009 +0200

    [xml2po] Fix Makefile.am to byte-compile Python files (Fixes #596702)

 xml2po/xml2po/Makefile.am       |    3 +--
 xml2po/xml2po/modes/Makefile.am |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/xml2po/xml2po/Makefile.am b/xml2po/xml2po/Makefile.am
index c9a97c8..cc5469b 100644
--- a/xml2po/xml2po/Makefile.am
+++ b/xml2po/xml2po/Makefile.am
@@ -11,9 +11,8 @@ xml2po: xml2po.py.in
 	  < $(srcdir)/xml2po.py.in > xml2po
 	chmod +x xml2po
 
-xml2po_DATA = \
+xml2po_PYTHON = \
 	__init__.py
 
 EXTRA_DIST = \
-	$(xml2po_DATA) \
 	xml2po.py.in
diff --git a/xml2po/xml2po/modes/Makefile.am b/xml2po/xml2po/modes/Makefile.am
index 04e7a33..5c0a179 100644
--- a/xml2po/xml2po/modes/Makefile.am
+++ b/xml2po/xml2po/modes/Makefile.am
@@ -1,4 +1,3 @@
 modesdir = $(pythondir)/xml2po/modes
-modes_DATA = __init__.py basic.py docbook.py gs.py mallard.py ubuntu.py xhtml.py
+modes_PYTHON = __init__.py basic.py docbook.py gs.py mallard.py ubuntu.py xhtml.py
 
-EXTRA_DIST = $(modes_DATA)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]