Edit

kc3-lang/automake/tests/nodep.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1999-03-21 21:54:55
    Hash : 4d505649
    Message : * nodep.test: New file. * Makefile.am (TESTS): Added nodep.test. * subdir3.test: Correctly mention _SOURCES in Makefile.am.

  • tests/nodep.test
  • #! /bin/sh
    
    # Test to make sure no-dependencies option does the right thing.
    # Bug report from Greg A. Woods.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    AUTOMAKE_OPTIONS = no-dependencies
    bin_PROGRAMS = zardoz
    zardoz_SOURCES = y.c
    END
    
    cat >> configure.in << 'END'
    AC_PROG_CC
    END
    
    mkdir x
    
    : > y.c
    
    $AUTOMAKE || exit 1
    
    grep '%' Makefile.in && exit 1
    exit 0