summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-31 09:32:08 +0200
committerThomas Haller <thaller@redhat.com>2015-09-04 11:06:26 +0200
commit4e461dab4871feb78ca2248286b1d51bb944a6ba (patch)
treebc6f4fe6b491c59d90a42116d65eb5aa2248e676
parent04e29df47dfb0aefd691d2c6e6065a56cff75d39 (diff)
downloadNetworkManager-4e461dab4871feb78ca2248286b1d51bb944a6ba.tar.gz
build: exclude private headers for mkenums and nm-enum-types.c
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0a60fb9745..1e05ec2831 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -379,7 +379,11 @@ endif
GLIB_GENERATED = nm-enum-types.h nm-enum-types.c
GLIB_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include <nm-core-enum-types.h>\n'
GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM
-nm_enum_types_sources = $(libNetworkManager_la_SOURCES)
+nm_enum_types_sources = $(filter-out \
+ %/nm-device-private.h \
+ %/nm-rdisc-private.h \
+ %/wifi-utils-private.h \
+ , $(libNetworkManager_la_SOURCES))
BUILT_SOURCES = $(GLIB_GENERATED)