Edit

kc3-lang/automake/tests/mclean.test

Branch :

  • Show log

    Commit

  • Author : Pavel Roskin
    Date : 2001-03-09 22:08:46
    Hash : 8c3aa892
    Message : * Makefile.am (maintainer-check): Scan all *.am files and tests for invocations of `rm' without `-f'. * tests/mclean.test: Strengthen to prevent triggering the above test.

  • tests/mclean.test
  • #! /bin/sh
    
    # Make sure MAINTAINERCLEANFILES works.
    # Report from Paul D. Smith.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    MAINTAINERCLEANFILES = foo
    END
    
    : > FOO
    
    $AUTOMAKE || exit 1
    
    grep 'rm -f .*MAINTAINERCLEANFILES' Makefile.in