summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-22 11:43:49 +0100
committerThomas Haller <thaller@redhat.com>2017-02-22 11:48:40 +0100
commit47e55561a77eeb40bd4e7be4a1fc8c708cf177e6 (patch)
treec4113250f1530ec8480bed5d42c0963f375c38a9
parentd440958de13cdeb28804d3835394ade860e2c767 (diff)
downloadNetworkManager-47e55561a77eeb40bd4e7be4a1fc8c708cf177e6.tar.gz
build: ensure build directories exist for gdbus-codegen targets
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index af5db2ceba..6b86c6ad6d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1825,6 +1825,7 @@ src_settings_plugins_ifcfg_rh_libnmdbus_ifcfg_rh_la_CPPFLAGS = $(filter-out -DGL
CLEANFILES += $(nodist_src_settings_plugins_ifcfg_rh_libnmdbus_ifcfg_rh_la_SOURCES)
src/settings/plugins/ifcfg-rh/nmdbus-ifcfg-rh.h: src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml
+ @$(MKDIR_P) src/settings/plugins/ifcfg-rh/
$(AM_V_GEN) gdbus-codegen \
--generate-c-code $(basename $@) \
--c-namespace NMDBus \
@@ -2865,6 +2866,7 @@ dispatcher_nmdbus_dispatcher_sources = \
dispatcher/nmdbus-dispatcher.c
dispatcher/nmdbus-dispatcher.h: dispatcher/nm-dispatcher.xml
+ @$(MKDIR_P) dispatcher/
$(AM_V_GEN) gdbus-codegen \
--generate-c-code $(basename $@) \
--c-namespace NMDBus \