aboutsummaryrefslogtreecommitdiff
path: root/tests/dbusmenu-gtk/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-24 12:47:16 -0500
committerTed Gould <ted@canonical.com>2009-06-24 12:47:16 -0500
commite59b791cd717bbd4bbb541382e20bfa150941f57 (patch)
tree13d5732af6fc964ac36674bfe5378a3a3297359d /tests/dbusmenu-gtk/Makefile.am
parent9cc1c5b7a4ae7fd626ac5e4a498bd3ca56fdf09e (diff)
downloadlibdbusmenu-e59b791cd717bbd4bbb541382e20bfa150941f57.tar.gz
libdbusmenu-e59b791cd717bbd4bbb541382e20bfa150941f57.tar.bz2
libdbusmenu-e59b791cd717bbd4bbb541382e20bfa150941f57.zip
Building the xml file on the fly.
Diffstat (limited to 'tests/dbusmenu-gtk/Makefile.am')
-rw-r--r--tests/dbusmenu-gtk/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/dbusmenu-gtk/Makefile.am b/tests/dbusmenu-gtk/Makefile.am
index 9b18e21..2db9809 100644
--- a/tests/dbusmenu-gtk/Makefile.am
+++ b/tests/dbusmenu-gtk/Makefile.am
@@ -3,5 +3,13 @@ check: tests
tests: mago
-mago:
- mago -f $(srcdir)/dbusmenu.xml
+mago: dbusmenu.xml
+ mago -f $(builddir)/dbusmenu.xml
+
+dbusmenu.xml: dbusmenu.xml.in
+ sed -e "s|\@srcdir\@|$(srcdir)|" $< > $@
+
+EXTRA_DIST = dbusmenu.xml
+
+CLEANFILES = dbusmenu.xml
+