diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-12-31 14:58:00 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-12-31 15:11:05 +0100 |
commit | ab76d22dd759153542c2133fbc99c591e17e6791 (patch) | |
tree | f360ca319011c175950d6b8a2245ddc5fd644788 /t/txinfo-setfilename-repeated.sh | |
parent | 78e1c8e561d71ae70b2d014a758502c9dc523a95 (diff) | |
parent | 51defae0a5af847d6c69de685b8997ae9178584d (diff) | |
download | automake-ab76d22dd759153542c2133fbc99c591e17e6791.tar.gz |
Merge branch 'master' into ng/master
* master:
docs: adjust comment w.r.t. recent tests renaming
tests: some more renames for texinfo tests
tests: enhance and tweak some texinfo tests
tests: remove a redundant texinfo test
tests: don't list a removed tests in XFAIL_TESTS
tests: more explicative names for some tests
cleanup: drop a redundant %?FIRST% transform
maint: state when compatibility cruft should be removed or warned about
+ Non-trivial extra edits
* t/txinfo-other-suffixes.sh: Remove, Automake-NG only supports
'.texi' ad suffix for Texinfo files.
* t/txinfo-without-info-suffix.sh: Remove, Automake-NG doesn't
support generating suffix-less info files.
* t/txinfo-no-repeated-targets.sh: Remove, superseded by test
't/txinfo-rules-once.sh' (see [ng] commit v1.12.1-416-gd5459b9).
* t/txinfo-dvi-recurs.sh: Remove, basically an obsolete grepping
test (as was the test 'txinfo10.sh' this was renamed from; see
[ng] commit v1.12.2-887-gb80d8d2).
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/txinfo-setfilename-repeated.sh')
-rwxr-xr-x | t/txinfo-setfilename-repeated.sh | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/t/txinfo-setfilename-repeated.sh b/t/txinfo-setfilename-repeated.sh new file mode 100755 index 000000000..0d12b053a --- /dev/null +++ b/t/txinfo-setfilename-repeated.sh @@ -0,0 +1,41 @@ +#! /bin/sh +# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# +# This program 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. +# +# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. + +# Make sure Automake uses the _first_ @setfilname it sees. +# Report from Karl Berry. + +. test-init.sh + +cat > Makefile.am << 'END' +info_TEXINFOS = texinfo.texi +END + +cat > texinfo.texi << 'END' +@setfilename texinfo.info +... +@verbatim +@setfilename foobar.info +@end verbatim +... +END + +$ACLOCAL +$AUTOMAKE --add-missing + +grep 'foobar' Makefile.in && exit 1 +grep 'texinfo\.info:' Makefile.in + +: |