diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 19:45:24 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 19:45:24 +0100 |
commit | 5b0b1ba9bc75e2a3a653c78889d67c705f617849 (patch) | |
tree | ff649d1391e3fdf62cf0694708f5769036861d40 | |
parent | 5f29b2a3e4b1744596defea708a7f717d737be53 (diff) | |
download | ayatana-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.am | 6 | ||||
-rw-r--r-- | 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) |