Edit

kc3-lang/automake/tests/info.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1997-02-23 19:41:20
    Hash : a6655646
    Message : allow texinfo files w/o .info extension

  • tests/info.test
  • #! /bin/sh
    
    # Test to make sure info files are distributed correctly.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    info_TEXINFOS = foo.texi
    
    magic:
    	@echo $(INFOS)
    END
    
    echo '@setfilename foo.info' > foo.texi
    : > texinfo.tex
    
    $AUTOMAKE || exit 1
    
    for i in `grep '^INFOS =' Makefile.in | sed -e 's/^INFOS = //'`; do
       echo $i
       case "$i" in
        foo*)
           ;;
        *)
           exit 1
           ;;
       esac
    done