summaryrefslogtreecommitdiff
path: root/Makefile.examples
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-11-22 19:30:06 +0100
committerThomas Haller <thaller@redhat.com>2016-11-24 16:52:27 +0100
commitec4a1b75401ada4bb22590c684ace871e422e06e (patch)
treeb3639157250f2c6051104f07acf2c05dbd151f6b /Makefile.examples
parent99bf51d3c77a3157704c6c38e9355b9bb7559a63 (diff)
downloadNetworkManager-ec4a1b75401ada4bb22590c684ace871e422e06e.tar.gz
build: avoid some uses of BUILT_SOURCES in Makefile.am
BUILT_SOURCES only matters during `make all`, `make check` and `make install`. It would be nice to be able to build every target specifically from an empty git-tree. Drop the use of BUILT_SOURCES where we already have the explicit dependencies declared.
Diffstat (limited to 'Makefile.examples')
-rw-r--r--Makefile.examples4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.examples b/Makefile.examples
index d1587c97d4..fcad852286 100644
--- a/Makefile.examples
+++ b/Makefile.examples
@@ -107,7 +107,9 @@ examples_C_qt_monitor_nm_running_LDADD = \
examples/C/qt/monitor-nm-running.moc: examples/C/qt/monitor-nm-running.cpp
$(AM_V_GEN) $(MOC) -i $< -o $@
-BUILT_SOURCES += \
+$(examples_C_qt_monitor_nm_running_OBJECTS): examples/C/qt/monitor-nm-running.moc
+
+CLEANFILES += \
examples/C/qt/monitor-nm-running.moc
endif