mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
Makefile: make custom-entities.ent depend on Makefile.am
When Makefile.am is modified, make sure custom-entities.ent is rebuilt. After all, $(substitutions) is defined there, so changes of that variable must be reflected in the resulting file.
This commit is contained in:
parent
355ff44900
commit
6096d9ccc3
@ -6602,7 +6602,7 @@ EXTRA_DIST += \
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
if ENABLE_MANPAGES
|
||||
man/custom-entities.ent: configure.ac
|
||||
man/custom-entities.ent: Makefile.am configure.ac
|
||||
$(AM_V_GEN)$(MKDIR_P) $(dir $@)
|
||||
$(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \
|
||||
printf '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">\n,$(substitutions))))') \
|
||||
|
Loading…
Reference in New Issue
Block a user