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.c \
|
||||||
mm-plugin.h
|
mm-plugin.h
|
||||||
|
|
||||||
# Additional dependency rules
|
|
||||||
mm-base-bearer.c: mm-daemon-enums-types.h
|
|
||||||
|
|
||||||
# Additional Polkit support
|
# Additional Polkit support
|
||||||
if WITH_POLKIT
|
if WITH_POLKIT
|
||||||
ModemManager_SOURCES += \
|
ModemManager_SOURCES += \
|
||||||
@@ -283,8 +280,11 @@ endif
|
|||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(udevrules_DATA)
|
$(udevrules_DATA)
|
||||||
|
|
||||||
CLEANFILES = \
|
# Request to build enum types before anything else
|
||||||
|
BUILT_SOURCES = \
|
||||||
mm-daemon-enums-types.h \
|
mm-daemon-enums-types.h \
|
||||||
mm-daemon-enums-types.c \
|
mm-daemon-enums-types.c \
|
||||||
mm-port-enums-types.h \
|
mm-port-enums-types.h \
|
||||||
mm-port-enums-types.c
|
mm-port-enums-types.c
|
||||||
|
|
||||||
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
Reference in New Issue
Block a user