summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/ChangeLog5
-rw-r--r--python/Makefile.am2
2 files changed, 6 insertions, 1 deletions
diff --git a/python/ChangeLog b/python/ChangeLog
index 93c6f99..710d4c0 100644
--- a/python/ChangeLog
+++ b/python/ChangeLog
@@ -1,5 +1,10 @@
2006-09-28 Rodney Dawes <dobey@novell.com>
+ * Makefile.am: Need to pass $@ as the second argument to the compile
+ method in python, so that the output goes to the right place
+
+2006-09-28 Rodney Dawes <dobey@novell.com>
+
* Makefile.am: Add bits to byte-compile the modules and install the
byte-compiled cache files as well
diff --git a/python/Makefile.am b/python/Makefile.am
index 978d1df..ec5c848 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -7,7 +7,7 @@ pyc_DATA = $(python_DATA:.py=.pyc)
pycdir = $(pythondir)
%.pyc: %.py
- $(PYTHON_CMD) -c "import py_compile; py_compile.compile ('$<')"
+ $(PYTHON_CMD) -c "import py_compile; py_compile.compile ('$<', '$@')"
bin_SCRIPTS = \
ldtprecord \