90a1403c81d98d4886564f0d87fa6a24b923ca3c
[platform/upstream/automake.git] / tests / mkinstall.test
1 #! /bin/sh
2
3 # Test for bug where mkinstalldirs variable can be set incorrectly.
4
5 . $srcdir/defs || exit 1
6
7 cat > Makefile.am << 'END'
8 pkgdata_DATA =
9 END
10
11 # The "././" prefix confuses Automake into thinking it is doing a
12 # subdir build.  Yes, this is hacky.
13 $ACLOCAL || exit 1
14 $AUTOMAKE ././Makefile || exit 1
15
16 grep ' /mkinstalldirs' Makefile.in && exit 1
17 exit 0