build: request to generate the enum types support files before building
Instead of providing explicit dependency rules to generate the enum types support files before they're first used, just pre-generate them before building anything. Maintaining the explicit dependency rules is not really worth it.
This commit is contained in:
@@ -228,9 +228,6 @@ ModemManager_SOURCES = \
|
||||
mm-plugin.c \
|
||||
mm-plugin.h
|
||||
|
||||
# Additional dependency rules
|
||||
mm-base-bearer.c: mm-daemon-enums-types.h
|
||||
|
||||
# Additional Polkit support
|
||||
if WITH_POLKIT
|
||||
ModemManager_SOURCES += \
|
||||
@@ -283,8 +280,11 @@ endif
|
||||
EXTRA_DIST = \
|
||||
$(udevrules_DATA)
|
||||
|
||||
CLEANFILES = \
|
||||
# Request to build enum types before anything else
|
||||
BUILT_SOURCES = \
|
||||
mm-daemon-enums-types.h \
|
||||
mm-daemon-enums-types.c \
|
||||
mm-port-enums-types.h \
|
||||
mm-port-enums-types.c
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
Reference in New Issue
Block a user