diff options
| author | Ted Gould <ted@canonical.com> | 2009-06-25 09:13:27 -0500 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2009-06-25 09:13:27 -0500 |
| commit | 5d3ce83fc6ae08957c88148ad87ae566dd03f08f (patch) | |
| tree | 08dc3a642d049fa468133fe17b0784768a8cfd7d /tests/dbusmenu-gtk/Makefile.am | |
| parent | 81f1ef9e2a96b8dfa7172a7a587bf65df17b89ce (diff) | |
| download | libdbusmenu-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.am | 17 |
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 |
