[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 18/26] [ng] coverage: texinfo input files using
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [PATCH 18/26] [ng] coverage: texinfo input files using @include directives |
Date: |
Sun, 17 Jun 2012 09:05:50 +0200 |
Le 16 juin 2012 à 23:30, Stefano Lattarini a écrit :
> +cat > three.texi << 'END'
> address@hidden three
> address@hidden Chapter two
> +Gnu's Not Unix.
It should read GNU.
> +END
> +
> +mkdir sub
> +
> +cat > sub/more.texi << 'END'
> +\input texinfo
> address@hidden more.info
> address@hidden main
> address@hidden
> address@hidden Top
> address@hidden GNU more.
> address@hidden
> +* desc:: Description of this program
> +* hist:: History of this program
Good idea, when will you do it? :)
> +get_info_names ()
> +{
> + find ${1-.} -type f | grep '\.info$' | LC_ALL=C sort > got
Can't you use -name '*.info'?
> +}
> +
> +check_expected ()
> +{
> + cat exp
> + cat got
> + diff exp got
> +}
> +
> +$ACLOCAL
> +$AUTOMAKE --add-missing
> +$AUTOCONF
> +
> +./configure
> +
> +$MAKE info
> +get_info_names
> +check_expected
> +
> +check_info_contents
> +
> +$MAKE dvi
> +test -f main.dvi
> +test -f sub/more.dvi
> +
> +$MAKE maintainer-clean
> +test ! -f main.dvi
> +test ! -f sub/more.dvi
> +test ! -f main.info
> +test ! -f sub/more.info
> +
> +mkdir build
> +cd build
> +../configure
> +$MAKE all dvi
> +
> +get_info_names ..
> +sed 's|^\./|../|' ../exp > exp
> +check_expected
> +
> +test -f main.dvi
> +test -f sub/more.dvi
> +
> +check_info_contents ..
> +
> +$MAKE distcheck
> +
> +:
> --
> 1.7.9.5
>
>
- Re: [Automake-NG] [PATCH 13/26] [ng] texi: drop transforms when reading texibuild.am, (continued)
- [Automake-NG] [PATCH 14/26] [ng] texi: adjust names of vars used for silent rules support, Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 15/26] [ng] texi: drop a useless transform when processing texinfos.am, Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 16/26] [ng] refactor: more proper name for a subroutine in automake, Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 17/26] [ng] texi: always look for mdate-sh in the build-aux directory ..., Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 18/26] [ng] coverage: texinfo input files using @include directives, Stefano Lattarini, 2012/06/16
- Re: [Automake-NG] [PATCH 18/26] [ng] coverage: texinfo input files using @include directives,
Akim Demaille <=
- [Automake-NG] [PATCH 19/26] [ng] automake: remove two unused variables from '&handle_texinfo_source', Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 21/26] [ng] texi: move some more knowledge from automake to texi-spec.am, Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 22/26] [ng] texi: simplify handle_texinfo_source by assuming '.info' suffix ..., Stefano Lattarini, 2012/06/16
- [Automake-NG] [PATCH 23/26] [ng] automake: merge handle_texinfo_source() -> handle_texinfo_helper(), Stefano Lattarini, 2012/06/16