build: regenerate config-extra.h if configure was re-run with different arguments

This commit is contained in:
Lubomir Rintel 2019-09-24 10:23:19 +02:00
parent 0f3203338c
commit 140619854e

View File

@ -4,7 +4,7 @@
# See https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html # See https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
# #
# With meson-only, they could just be set via config.h.meson # With meson-only, they could just be set via config.h.meson
config-extra.h: config-extra.h.mk config.h config-extra.h: config-extra.h.mk config.h config.status
$(AM_V_GEN) \ $(AM_V_GEN) \
echo "/* Generated by Makefile.am */" >$@ && \ echo "/* Generated by Makefile.am */" >$@ && \
echo "#define BINDIR \"$(bindir)\"" >>$@ && \ echo "#define BINDIR \"$(bindir)\"" >>$@ && \