Akim> * configure.am: New file.
Akim> * automake.in (&file_contents): Transform CONFIGURE-AC.
Akim> (&handle_texinfo, &handle_configure): Don't transform
Akim> CONFIGURE_AM.
Akim> (&handle_configure): Use `configure.am'.
Akim> * remake-hdr.am, remake.am, texi-vers.am: Adjust to
Akim> MAINTAINER-MODE and CONFIGURE-AC.
Ok.
Akim> -?MAINTAINER_MODE?$(srcdir)/configure:
@MAINTAINER_MODE_TRUE@$(srcdir)/%CONFIGURE_AC% $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
Akim> -?!MAINTAINER_MODE?$(srcdir)/configure: $(srcdir)/%CONFIGURE_AC% $(ACLOCAL_M4)
$(CONFIGURE_DEPENDENCIES)
Akim> +?MAINTAINER-MODE?$(srcdir)/configure:
@MAINTAINER_MODE_TRUE@$(srcdir)/%CONFIGURE-AC% $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
Akim> +?!MAINTAINER-MODE?$(srcdir)/configure: $(srcdir)/%CONFIGURE-AC% $(ACLOCAL_M4)
$(CONFIGURE_DEPENDENCIES)
What if we simply defined %MAINTAINER-MODE% to either expand to `' or
to `@MAINTAINER_MODE_TRUE@'? Then we wouldn't have to maintain these
dependencies in parallel.
Tom