summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-22 12:51:08 +0100
committerThomas Haller <thaller@redhat.com>2017-02-22 13:16:28 +0100
commit86ac68049a99000454cf202c29b824bcd50c21ec (patch)
tree545a03a56d83bb6318b559b07a77e584be6bdc7f
parent47e55561a77eeb40bd4e7be4a1fc8c708cf177e6 (diff)
downloadNetworkManager-86ac68049a99000454cf202c29b824bcd50c21ec.tar.gz
build: ensure libnm-core directory exists for generated files
Since we generate "libnm-core/nm-core-enum-types.h" via GLIB_GENERAED, there is no obvious place to $(MKDIR_P). Add a dependency to the .dirstamp of the directory to instruct automake to create the directory.
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 6b86c6ad6d..e88277f221 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -503,6 +503,9 @@ GLIB_GENERATED += \
$(libnm_core_lib_c_mkenums)
nm_core_enum_types_sources = $(libnm_core_lib_h_pub_real)
+$(libnm_core_lib_h_pub_mkenums): libnm-core/.dirstamp
+$(libnm_core_lib_c_mkenums): libnm-core/.dirstamp
+
$(dispatcher_libnm_dispatcher_core_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
$(dispatcher_nm_dispatcher_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
$(libnm_core_libnm_core_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums)