diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 19:28:10 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 19:28:10 +0100 |
commit | 5f29b2a3e4b1744596defea708a7f717d737be53 (patch) | |
tree | 6f660b3a795fdad5e1cd5107b8737606fcbf8cf5 /test | |
parent | e76730160da068ce4a358297ac171f0dd656f69c (diff) | |
download | ayatana-indicator-printers-5f29b2a3e4b1744596defea708a7f717d737be53.tar.gz ayatana-indicator-printers-5f29b2a3e4b1744596defea708a7f717d737be53.tar.bz2 ayatana-indicator-printers-5f29b2a3e4b1744596defea708a7f717d737be53.zip |
Also generate cups-notifier in the text directory
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index d3e10bb..4b0439d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,10 +2,20 @@ noinst_PROGRAMS = mock-cups-notifier DISTCLEANFILES = mock-cups-notifier +cups_notifier_sources = \ + cups-notifier.c \ + cups-notifier.h + +$(cups_notifier_sources): $(top_srcdir)/src/org.cups.cupsd.Notifier.xml + gdbus-codegen \ + --interface-prefix org.cups.cupsd \ + --c-namespace Cups \ + --generate-c-code cups-notifier \ + $^ + mock_cups_notifier_SOURCES = \ mock-cups-notifier.c \ - $(top_builddir)/src/cups-notifier.c \ - $(top_builddir)/src/cups-notifier.h + $(cups_notifier_sources) mock_cups_notifier_CPPFLAGS = \ $(SERVICE_CFLAGS) \ @@ -13,3 +23,5 @@ mock_cups_notifier_CPPFLAGS = \ mock_cups_notifier_LDADD = $(SERVICE_LIBS) +BUILT_SOURCES = $(cups_notifier_sources) + |