aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)