]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fixlets from Ulrich; new test
authorTom Tromey <tromey@redhat.com>
Sat, 7 Dec 1996 20:39:44 +0000 (20:39 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 7 Dec 1996 20:39:44 +0000 (20:39 +0000)
ChangeLog
Makefile.in
automake.in
tests/ChangeLog
tests/Makefile.am
tests/output2.test [new file with mode: 0755]

index 2bcd39048c049ebe0174135488ab35e00ab56669..c1e262c25ab92539e9b3c7d94e9fa159a1733767 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Dec  7 11:34:39 1996  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in (am_install_var): Quote $ in regexp substitution.
+       From Ulrich Drepper.
+
 Fri Dec  6 18:54:10 1996  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (handle_configure): Require actual input files, not
index ba7eb245fbed2b6a97a4f33ab71f660b0c0f4714..69895503ee566ba4d764315f1cde46d403173621 100644 (file)
@@ -95,16 +95,16 @@ default: all
 
 .SUFFIXES:
 .SUFFIXES: .texi .texinfo .info .dvi
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in 
-       cd $(top_srcdir) && automake --gnits Makefile
-
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
-       cd $(top_builddir) \
-         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
 $(srcdir)/aclocal.m4: configure.in
        cd $(srcdir) && aclocal
 
+$(srcdir)/Makefile.in: Makefile.am configure.in
+       cd $(srcdir) && automake --gnits Makefile
+
+# For an explanation of the following Makefile rules, see node
+# `Automatic Remaking' in GNU Autoconf documentation.
+Makefile: $(srcdir)/Makefile.in config.status $(BUILT_SOURCES)
+       CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 config.status: configure
        $(SHELL) ./config.status --recheck
 $(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
@@ -173,8 +173,6 @@ automake.info: automake.texi version.texi
 automake.dvi: automake.texi version.texi
 
 
-DVIPS = dvips
-
 .texi.info:
        cd $(srcdir) \
          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
@@ -189,8 +187,6 @@ DVIPS = dvips
 
 .texinfo.dvi:
        TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
-.dvi.ps:
-       $(DVIPS) $< -o $@
 
 install-info-am: $(INFO_DEPS)
        $(NORMAL_INSTALL)
index 0f767a47b5e84f5c7be1df98fd3ff8887be79c07..dc89fa98244d2121f92bf340bdf30df8117efacd 100755 (executable)
@@ -2506,7 +2506,7 @@ sub handle_configure
                          . "\t"
                          . 'cd $(top_builddir) && CONFIG_FILES='
                          . ($relative_dir eq '.' ? '' : '$(subdir)/')
-                         . '$@' . (length (@inputs) > 1
+                         . '$@' . (length (@rewritten_inputs) > 1
                                    ? (':' . join (':', @rewritten_inputs))
                                    : '')
                          . ' CONFIG_HEADERS= ./config.status'
@@ -4294,7 +4294,7 @@ sub am_install_var
            {
                # Note that we explicitly set the mode, to avoid
                # lossage if the program name isn't what we expect.
-               $more_xform = 's/\@LIBTOOL\@/$(LIBTOOL) --mode=install/;';
+               $more_xform = 's/\@LIBTOOL\@/\$(LIBTOOL) --mode=install/;';
            }
            else
            {
index 96c1d070c70d20247806281ce7ffc8a36648758a..b3f3ff5a94de160a6e6128dbcea3eb8c0dbd1bac 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec  7 12:52:45 1996  Tom Tromey  <tromey@cygnus.com>
+
+       * output2.test: New file.
+
 Fri Dec  6 19:00:31 1996  Tom Tromey  <tromey@cygnus.com>
 
        * output.test: New file.
index 0dfbd9e1871cf8f286bb0d648e452a836ffbfc60..cb29e871c11ddadbceb6dbc5ed7886fc4b8e74cd 100644 (file)
@@ -19,7 +19,7 @@ confsub.test primary.test primary2.test depend2.test spell3.test \
 comment2.test vpath.test symlink.test discover.test acinclude.test req.test \
 acsilent.test distdir.test lex2.test libobj4.test libobj5.test version.test \
 ranlib.test confvar.test confvar2.test stdlib.test cxxo.test colon2.test \
-colon3.test remake.test output.test
+colon3.test remake.test output.test output2.test
 
 EXTRA_DIST = defs $(TESTS)
 
diff --git a/tests/output2.test b/tests/output2.test
new file mode 100755 (executable)
index 0000000..711de2d
--- /dev/null
@@ -0,0 +1,25 @@
+#! /bin/sh
+
+# Another AC_OUTPUT test.  From report by Ulrich Drepper.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+AC_OUTPUT(Makefile intl/intlh.inst po/Makefile.in misc/gettextize)
+END
+
+: > Makefile.am
+
+mkdir intl po misc
+: > intl/intlh.inst.in
+: > po/Makefile.in.am
+: > misc/gettextize.in
+
+$AUTOMAKE || exit 1
+
+grep '^gettextize' Makefile.in && exit 1
+exit 0