mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 13:53:39 +08:00
build-sys: add silent rule for m4 processing
Using custom prefixes makes the whole build process a bit more readable.
This commit is contained in:
parent
245d345f75
commit
ebea41b8d2
12
Makefile.am
12
Makefile.am
@ -246,6 +246,12 @@ INSTALL_EXEC_HOOKS += \
|
||||
install-directories-hook \
|
||||
install-aliases-hook
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
AM_V_M4 = $(AM_V_M4_$(V))
|
||||
AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
|
||||
AM_V_M4_0 = @echo " M4 " $@;
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
rootbin_PROGRAMS = \
|
||||
systemctl \
|
||||
@ -3863,14 +3869,14 @@ src/%.c: src/%.gperf
|
||||
|
||||
src/%: src/%.m4
|
||||
$(AM_V_at)$(MKDIR_P) $(dir $@)
|
||||
$(AM_V_GEN)$(M4) -P $(M4_DEFINES) < $< > $@
|
||||
$(AM_V_M4)$(M4) -P $(M4_DEFINES) < $< > $@
|
||||
|
||||
M4_PROCESS_SYSTEM = \
|
||||
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
||||
$(AM_V_M4)$(MKDIR_P) $(dir $@) && \
|
||||
$(M4) -P $(M4_DEFINES) -DFOR_SYSTEM=1 < $< > $@
|
||||
|
||||
M4_PROCESS_USER = \
|
||||
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
||||
$(AM_V_M4)$(MKDIR_P) $(dir $@) && \
|
||||
$(M4) -P $(M4_DEFINES) -DFOR_USER=1 < $< > $@
|
||||
|
||||
units/%: units/%.m4 Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user