Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:

1. Addition of maintainer-mode dependencies on config.status and
       aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
       over from automake generated Makefile.ins, i.e. they are contained in
       any automake generated toplevel Makefile.in. Having this patch in is at
       least a great releaf for me when working on RTEMS configuration :)

    2. Automated support for #1 in acpolish

    3. Some minor "beautifications" on Makefile.ins resulting from running
       acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!
This commit is contained in:
Joel Sherrill
1999-08-30 15:37:30 +00:00
parent e49d7c3df2
commit 473741bb07
2 changed files with 53 additions and 11 deletions

View File

@@ -7,6 +7,11 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .
ACLOCAL = aclocal
AUTOCONF = autoconf
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
ACLOCAL_AMFLAGS = -I @RTEMS_TOPdir@/aclocal
RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@
@@ -46,3 +51,11 @@ CLOBBER_ADDITIONS += config.log config.cache
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4)
cd $(srcdir) && $(AUTOCONF)