Edit

kc3-lang/automake/tests/depend.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1996-03-02 05:54:34
    Hash : 5f087b50
    Message : Bug fixes

  • tests/depend.test
  • #! /bin/sh
    
    # This tests for a bug reported by Henrik Frystyk Nielsen <frystyk@w3.org>
    # In some cases the auto-dependency can get confused and try
    # to `-include' a directory.
    # This actually tests for two bugs:
    # * A configure substitution in _SOURCES incorrectly ends up in DEP_FILES
    # * A backslash-newline in _SOURCES causes just the directory to
    #   appear in DEP_FILES.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    bin_PROGRAMS = fred
    fred_SOURCES = \
       @BLATT@
    END
    
    $AUTOMAKE || exit 1
    
    grep '^DEP_FILES = *$' Makefile.in