From eeb1f512253e6bec7062258b5e96dd1b77354cab Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 20 Feb 2003 17:16:20 +0000 Subject: [PATCH] missing file from 2003-02-19 --- tests/txinfo19.test | 76 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100755 tests/txinfo19.test diff --git a/tests/txinfo19.test b/tests/txinfo19.test new file mode 100755 index 000000000..7c082506b --- /dev/null +++ b/tests/txinfo19.test @@ -0,0 +1,76 @@ +#! /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. + +# Test support for DJGPP's .iNN info files. + +required='makeinfo tex' +. ./defs || exit 1 + +set -e + +echo AC_OUTPUT >> configure.in + +cat > Makefile.am << 'END' +info_TEXINFOS = main.texi +END + +cat > main.texi << 'END' +\input texinfo +@setfilename main.info +@settitle main +@node Top +Hello walls. +@bye +END + +$ACLOCAL +$AUTOMAKE --add-missing +$AUTOCONF + +./configure --infodir=`pwd`/_inst +$MAKE + +# Make sure .iNN files are installed. +: > main.i1 +: > main.i21 +$MAKE install +test -f _inst/main.i1 +test -f _inst/main.i21 + +# They should be uninstalled too. +$MAKE uninstall +test ! -f _inst/main.i1 +test ! -f _inst/main.i21 + +# Make sure rebuild rules erase old .iNN files when they run makeinfo. +$sleep +touch main.texi +test -f main.i1 +test -f main.i21 +$MAKE +test ! -f main.i1 +test ! -f main.i21 + +# Finally, we also want them erased by maintainer-clean. +: > main.i7 +: > main.i39 +$MAKE maintainer-clean +test ! -f main.i7 +test ! -f main.i39 -- 2.47.2