From: Tom Tromey Date: Fri, 24 Nov 1995 23:47:32 +0000 (+0000) Subject: Test for install-sh and mkinstalldirs X-Git-Tag: Release-0-25~190 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6dacc1f747a4e2a692dc273f705eec00888b8ab4;p=automake.git Test for install-sh and mkinstalldirs --- diff --git a/automake.in b/automake.in index 810976bf..166446df 100755 --- a/automake.in +++ b/automake.in @@ -444,6 +444,21 @@ p $echo "automake: ${am_reldir}/texinfo.tex does not exist" 1>&2 } + case "$am_makefile" in + */*) + # In a subdirectory. + ;; + + *) + # In top-level, or only, directory. + test -f $am_reldir/install-sh || { + $echo "automake: $am_reldir/install-sh does not exist" 1>&2 + } + test -f $am_reldir/mkinstalldirs || { + $echo "automake: $am_reldir/mkinstalldirs does not exist" 1>&2 + } + ;; + esac # Copy from Makefile.am to output. sed '/^[^#=]*:/,$d' ${am_makefile}.am >&4