configure: Output maintainer-mode rules directly from configure.
This commit is contained in:
parent
8e2becf394
commit
5eee920441
|
@ -33,14 +33,6 @@ WINAPI_CHECK_EXTRA_FLAGS = --global
|
|||
|
||||
# Rules for re-running configure
|
||||
|
||||
$(srcdir)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4
|
||||
cd $(srcdir) && autoconf --warnings=all
|
||||
|
||||
$(srcdir)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in
|
||||
$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
|
||||
cd $(srcdir) && autoheader --warnings=all
|
||||
@echo timestamp > $@
|
||||
|
||||
config.status: configure
|
||||
@./config.status --recheck
|
||||
|
||||
|
|
|
@ -15391,6 +15391,17 @@ ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
|
|||
|
||||
|
||||
|
||||
if test "x$enable_maintainer_mode" = xyes
|
||||
then
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
|
||||
cd \$(srcdir) && autoconf --warnings=all
|
||||
|
||||
\$(srcdir)/include/config.h.in: include/stamp-h.in
|
||||
\$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
|
||||
cd \$(srcdir) && autoheader --warnings=all
|
||||
@echo timestamp > \$@"
|
||||
fi
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
|
||||
|
|
11
configure.ac
11
configure.ac
|
@ -2939,6 +2939,17 @@ AC_CONFIG_FILES([Make.tmp:Make.vars.in:Makefile.in])
|
|||
|
||||
dnl Some final makefile rules
|
||||
|
||||
if test "x$enable_maintainer_mode" = xyes
|
||||
then
|
||||
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
|
||||
[\$(srcdir)/configure: configure.ac aclocal.m4
|
||||
cd \$(srcdir) && autoconf --warnings=all
|
||||
\$(srcdir)/include/config.h.in: include/stamp-h.in
|
||||
\$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
|
||||
cd \$(srcdir) && autoheader --warnings=all
|
||||
@echo timestamp > \$[@]])
|
||||
fi
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
|
||||
|
|
Loading…
Reference in New Issue