From 5b0b1ba9bc75e2a3a653c78889d67c705f617849 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Thu, 16 Feb 2012 19:45:24 +0100 Subject: Don't distribute generated sources and delete them on `make clean` --- src/Makefile.am | 6 ++++-- test/Makefile.am | 6 ++++-- 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) -- cgit v1.2.3