summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-10-13 21:38:36 +0200
committerThomas Haller <thaller@redhat.com>2014-10-20 11:53:43 +0200
commit44c34a7adc620ffffc81b68bc0bba22288849649 (patch)
treedea0b2ce43d94ffbbeda4aa1a7a2b29acb9d7c8c
parent461da6fe1a5e9b7080281055bf5d5fb23a1e9922 (diff)
build: Don't leak generated files into distribution
gdbus-codegen will generate code that will need a too recent version of glib.
-rw-r--r--callouts/Makefile.am8
1 files changed, 2 insertions, 6 deletions
diff --git a/callouts/Makefile.am b/callouts/Makefile.am
index 1c5f39566d..2f725b0705 100644
--- a/callouts/Makefile.am
+++ b/callouts/Makefile.am
@@ -53,7 +53,7 @@ nm_dispatcher_LDADD = \
noinst_LTLIBRARIES += libnmdbus-dispatcher.la
-libnmdbus_dispatcher_la_SOURCES = \
+nodist_libnmdbus_dispatcher_la_SOURCES = \
nmdbus-dispatcher.c \
nmdbus-dispatcher.h
@@ -69,10 +69,6 @@ nmdbus-dispatcher.h: nm-dispatcher.xml
nmdbus-dispatcher.c: nmdbus-dispatcher.h
@true
-BUILT_SOURCES = \
- nmdbus-dispatcher.c \
- nmdbus-dispatcher.h
-
###########################################
# dispatcher envp
###########################################
@@ -113,7 +109,7 @@ install-data-hook:
$(mkinstalldirs) -m 0755 $(DESTDIR)$(dispatcherdir)/pre-down.d
$(mkinstalldirs) -m 0755 $(DESTDIR)$(dispatcherdir)/pre-up.d
-CLEANFILES = $(BUILT_SOURCES) $(dbusactivation_DATA)
+CLEANFILES = $(nodist_libnmdbus_dispatcher_la_SOURCES) $(dbusactivation_DATA)
EXTRA_DIST = \
$(dbusservice_DATA) \