aboutsummaryrefslogtreecommitdiff
path: root/tests/dbusmenu-gtk/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-25 09:13:27 -0500
committerTed Gould <ted@canonical.com>2009-06-25 09:13:27 -0500
commit5d3ce83fc6ae08957c88148ad87ae566dd03f08f (patch)
tree08dc3a642d049fa468133fe17b0784768a8cfd7d /tests/dbusmenu-gtk/Makefile.am
parent81f1ef9e2a96b8dfa7172a7a587bf65df17b89ce (diff)
downloadlibdbusmenu-5d3ce83fc6ae08957c88148ad87ae566dd03f08f.tar.gz
libdbusmenu-5d3ce83fc6ae08957c88148ad87ae566dd03f08f.tar.bz2
libdbusmenu-5d3ce83fc6ae08957c88148ad87ae566dd03f08f.zip
Changing the python script to be generated so that it can get the paths correctly. It's almost making Python into a real language. Not quite, but getting there.
Diffstat (limited to 'tests/dbusmenu-gtk/Makefile.am')
-rw-r--r--tests/dbusmenu-gtk/Makefile.am17
1 files changed, 13 insertions, 4 deletions
diff --git a/tests/dbusmenu-gtk/Makefile.am b/tests/dbusmenu-gtk/Makefile.am
index 976646f..04054ed 100644
--- a/tests/dbusmenu-gtk/Makefile.am
+++ b/tests/dbusmenu-gtk/Makefile.am
@@ -3,13 +3,22 @@ check: tests
tests: mago
-mago: dbusmenu.xml
- PYTHONPATH=$(srcdir) mago -f $(builddir)/dbusmenu.xml
+mago: dbusmenu.xml dbusmenu.py
+ PYTHONPATH=$(builddir) mago -f $(builddir)/dbusmenu.xml
dbusmenu.xml: dbusmenu.xml.in
sed -e "s|\@srcdir\@|$(srcdir)|" $< > $@
-EXTRA_DIST = dbusmenu.xml
+dbusmenu.py: dbusmenu.py.in
+ sed -e "s|\@srcdir\@|$(srcdir)|" $< > $@
+
+EXTRA_DIST = \
+ dbusmenu.xml \
+ dbusmenu.xml.in \
+ dbusmenu.py \
+ dbusmenu.py.in
-CLEANFILES = dbusmenu.xml
+CLEANFILES = \
+ dbusmenu.xml \
+ dbusmenu.py