aboutsummaryrefslogtreecommitdiff
path: root/tests/dbusmenu-gtk/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-09 12:06:56 -0400
committerTed Gould <ted@canonical.com>2009-10-09 12:06:56 -0400
commitdce80730186bfb61b1919652d71fc249b8df5f75 (patch)
tree4b73ccf17a97ffe3c0d66d1376360fd4e0430c76 /tests/dbusmenu-gtk/Makefile.am
parent1e668b013089c5a4027102bca75f7542917fef2d (diff)
downloadlibdbusmenu-dce80730186bfb61b1919652d71fc249b8df5f75.tar.gz
libdbusmenu-dce80730186bfb61b1919652d71fc249b8df5f75.tar.bz2
libdbusmenu-dce80730186bfb61b1919652d71fc249b8df5f75.zip
Making the mago tests run in the make file in tests and making it so that they use a standard Python file.
Diffstat (limited to 'tests/dbusmenu-gtk/Makefile.am')
-rw-r--r--tests/dbusmenu-gtk/Makefile.am8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/dbusmenu-gtk/Makefile.am b/tests/dbusmenu-gtk/Makefile.am
index 7fdd6d9..1d4a09f 100644
--- a/tests/dbusmenu-gtk/Makefile.am
+++ b/tests/dbusmenu-gtk/Makefile.am
@@ -3,15 +3,12 @@ check: tests
tests: mago
-mago: dbusmenu.xml dbusmenu.py
+mago: dbusmenu.xml mago_tests/dbusmenu.py
PYTHONPATH=$(builddir) mago -f dbusmenu.xml -t $(builddir)/mago.results
dbusmenu.xml: dbusmenu.xml.in
sed -e "s|\@srcdir\@|$(srcdir)|" $< > mago_tests/$@
-dbusmenu.py: dbusmenu.py.in
- sed -e "s|\@srcdir\@|$(srcdir)|" $< > mago_tests/$@
-
EXTRA_DIST = \
dbusmenu.xml.in \
dbusmenu.py.in \
@@ -35,8 +32,7 @@ EXTRA_DIST = \
CLEANFILES = \
mago_tests/dbusmenu.xml \
- mago_tests/dbusmenu.pyc \
- mago_tests/dbusmenu.py
+ mago_tests/dbusmenu.pyc
distclean-local:
-rm -rf $(builddir)/mago.results