Edit

kc3-lang/automake/tests/subdir2.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-09-26 19:06:21
    Hash : 1de3ff47
    Message : * aclocal.test: Put AM_INIT_AUTOMAKE into configure.in. * library.test: Use AC_EXEEXT. * texinfo5.test: Use AC_EXEEXT. * Many files: use AC_PROG_INSTALL, not AM_PROG_INSTALL.

  • tests/subdir2.test
  • #! /bin/sh
    
    # Test to make sure sub-sub-dirs work correctly.
    
    . $srcdir/defs || exit 1
    
    mkdir one
    mkdir one/two
    
    cat > configure.in << 'END'
    PACKAGE=nonesuch
    VERSION=nonesuch
    AC_ARG_PROGRAM
    AC_PROG_MAKE_SET
    AC_PROG_INSTALL
    AC_OUTPUT(Makefile one/Makefile one/two/Makefile)
    END
    
    # Files required because we are using `--gnu'.
    : > INSTALL
    : > NEWS
    : > README
    : > COPYING
    : > AUTHORS
    : > ChangeLog
    
    cat > Makefile.am << 'END'
    SUBDIRS = one
    END
    
    cat > one/Makefile.am << 'END'
    SUBDIRS = two
    END
    
    cat > one/two/Makefile.am << 'END'
    pkgdata_DATA =
    END
    
    $AUTOMAKE --gnu