Edit

kc3-lang/automake/tests/texinfo2.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1997-04-09 01:36:35
    Hash : aae29754
    Message : tests respect MAKE

  • tests/texinfo2.test
  • #! /bin/sh
    
    # Test to ensure that a ".info~" file doesn't end up in the
    # distribution.  Bug report from Greg McGary.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    info_TEXINFOS = textutils.texi
    magic:
    	@echo $(DISTFILES)
    END
    
    : > texinfo.tex
    echo '@setfilename textutils.info' > textutils.texi
    : > textutils.info~
    
    $AUTOMAKE || exit 1
    
    test -z "`$MAKE -s -f Makefile.in magic | grep '~'`"