Edit

kc3-lang/automake/tests/pr2.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2000-03-19 21:53:11
    Hash : 2bdfa584
    Message : For PR automake/45: * defs, acoutnoq.test, texinfo8.test, tagsub.test, subdir2.test, subdir.test, scripts.test, remake2.test, remake.test, pr2.test, parse.test, output4.test, output3.test, output2.test, output.test, libobj10.test, libobj9.test, libobj8.test, libobj7.test, libobj6.test, libobj2.test, libobj.test, fpinstall.test, fpinst2.test, depend3.test, confsub.test, config.test, confh4.test, confh3.test, confh2.test, confh.test, conf2.test, colon7.test, colon6.test, colon5.test, colon4.test, colon3.test, colon2.test, colon.test, acouttbs.test, acoutqnl.test, acoutput.test: Put AM_INIT_AUTOMAKE into configure.in.

  • tests/pr2.test
  • #! /bin/sh
    
    # Test for bug reported in PR 2.
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    AM_INIT_AUTOMAKE(nonesuch, nonesuch)
    PACKAGE=nonesuch
    VERSION=nonesuch
    AC_ARG_PROGRAM
    AC_PROG_MAKE_SET
    AC_PROG_INSTALL
    AC_OUTPUT(README.foo:templ/README.foo.in Makefile)
    END
    
    : > Makefile.am
    
    mkdir templ
    : > templ/README.foo.in
    
    $AUTOMAKE || exit 1
    
    # Look for mkinstalldirs invocation for the templ directory.
    # We use the `[^/]' to avoid matching `templ/README.foo.in'.
    egrep 'mkinstalldirs.*templ([^/]|$)' Makefile.in