aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-16 19:45:24 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-16 19:45:24 +0100
commit5b0b1ba9bc75e2a3a653c78889d67c705f617849 (patch)
treeff649d1391e3fdf62cf0694708f5769036861d40
parent5f29b2a3e4b1744596defea708a7f717d737be53 (diff)
downloadayatana-indicator-printers-5b0b1ba9bc75e2a3a653c78889d67c705f617849.tar.gz
ayatana-indicator-printers-5b0b1ba9bc75e2a3a653c78889d67c705f617849.tar.bz2
ayatana-indicator-printers-5b0b1ba9bc75e2a3a653c78889d67c705f617849.zip
Don't distribute generated sources and delete them on `make clean`
-rw-r--r--src/Makefile.am6
-rw-r--r--test/Makefile.am6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2c87ad0..6e10cb9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,13 +34,15 @@ indicator_printers_service_SOURCES = \
indicator-printer-state-notifier.h \
spawn-printer-settings.c \
spawn-printer-settings.h \
- dbus-names.h \
- $(cups_notifier_sources)
+ dbus-names.h
+
+nodist_indicator_printers_service_SOURCES = $(cups_notifier_sources)
indicator_printers_service_CPPFLAGS = $(SERVICE_CFLAGS)
indicator_printers_service_LDADD = $(SERVICE_LIBS)
BUILT_SOURCES = $(cups_notifier_sources)
+CLEANFILES= $(BUILT_SOURCES)
EXTRA_DIST = org.cups.cupsd.Notifier.xml
diff --git a/test/Makefile.am b/test/Makefile.am
index 4b0439d..4084cba 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -14,8 +14,9 @@ $(cups_notifier_sources): $(top_srcdir)/src/org.cups.cupsd.Notifier.xml
$^
mock_cups_notifier_SOURCES = \
- mock-cups-notifier.c \
- $(cups_notifier_sources)
+ mock-cups-notifier.c
+
+nodist_mock_cups_notifier_SOURCES = $(cups_notifier_sources)
mock_cups_notifier_CPPFLAGS = \
$(SERVICE_CFLAGS) \
@@ -24,4 +25,5 @@ mock_cups_notifier_CPPFLAGS = \
mock_cups_notifier_LDADD = $(SERVICE_LIBS)
BUILT_SOURCES = $(cups_notifier_sources)
+CLEANFILES = $(BUILT_SOURCES)