* lib/am/texinfos.am (install-info): Depend on
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 18 Nov 2003 20:40:48 +0000 (20:40 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 18 Nov 2003 20:40:48 +0000 (20:40 +0000)
install-info-recursive or install-info-am even if no-installinfo.
* tests/txinfo27.test: New file.
* tests/Makefile.am (TESTS): Add txinfo26.test.

ChangeLog
lib/am/texinfos.am
tests/Makefile.am
tests/Makefile.in
tests/txinfo27.test [new file with mode: 0755]

index 7a9440d..f744fd0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-11-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>  (tiny change)
+           Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * lib/am/texinfos.am (install-info): Depend on
+       install-info-recursive or install-info-am even if no-installinfo.
+       * tests/txinfo27.test: New file.
+       * tests/Makefile.am (TESTS): Add txinfo26.test.
+
 2003-11-18  Paolo Bonzini  <bonzini@gnu.org>
            Alexandre Duret-Lutz  <adl@gnu.org>
 
index 162dd45..bc02a66 100644 (file)
@@ -110,6 +110,7 @@ if %?LOCAL-TEXIS%
 am__installdirs += $(DESTDIR)$(infodir)
 install-data-am: install-info-am
 endif %?LOCAL-TEXIS%
+endif %?INSTALL-INFO%
 .PHONY: install-info
 if %?SUBDIRS%
 RECURSIVE_TARGETS += install-info-recursive
@@ -117,7 +118,6 @@ install-info: install-info-recursive
 else !%?SUBDIRS%
 install-info: install-info-am
 endif !%?SUBDIRS%
-endif %?INSTALL-INFO%
 
 .PHONY: install-info-am
 if %?LOCAL-TEXIS%
index 8bc3b20..8625e33 100644 (file)
@@ -484,6 +484,7 @@ txinfo23.test \
 txinfo24.test \
 txinfo25.test \
 txinfo26.test \
+txinfo27.test \
 transform.test \
 unused.test \
 vars.test \
index 8747c89..5c2ff22 100644 (file)
@@ -598,6 +598,7 @@ txinfo23.test \
 txinfo24.test \
 txinfo25.test \
 txinfo26.test \
+txinfo27.test \
 transform.test \
 unused.test \
 vars.test \
diff --git a/tests/txinfo27.test b/tests/txinfo27.test
new file mode 100755 (executable)
index 0000000..4ae7e52
--- /dev/null
@@ -0,0 +1,52 @@
+#! /bin/sh
+# Copyright (C) 2003  Free Software Foundation, Inc.
+#
+# This file is part of GNU Automake.
+#
+# GNU Automake is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# GNU Automake is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Automake; see the file COPYING.  If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# Make sure install-info works even if no-installinfo is given.
+
+required='makeinfo'
+. ./defs || exit 1
+
+set -e
+
+echo AC_OUTPUT >> configure.in
+
+cat > Makefile.am << 'END'
+info_TEXINFOS = main.texi
+AUTOMAKE_OPTIONS = no-installinfo
+END
+
+cat > main.texi << 'END'
+\input texinfo
+@setfilename main.info
+@settitle main
+@node Top
+Hello walls.
+@include version.texi
+@bye
+END
+
+
+$ACLOCAL
+$AUTOMAKE --add-missing
+$AUTOCONF
+
+./configure --prefix=`pwd`/inst --infodir=`pwd`/inst/info
+$MAKE install-info
+test -f inst/info/main.info