From: Jim Meyering Date: Tue, 10 Feb 2004 08:17:33 +0000 (+0000) Subject: (dist-hook): New target, to ensure that config/install-sh X-Git-Tag: v5.2.0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c23d82f32e592753d14a852f09f33ce1e554f37;p=thirdparty%2Fcoreutils.git (dist-hook): New target, to ensure that config/install-sh is executable. Otherwise, on systems that lack a suitable install binary, `make install' would fail, because of the way this script is invoked (without `$SHELL ' prefix). --- diff --git a/Makefile.am b/Makefile.am index 262fda603b..52cd8495e8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,9 @@ ACLOCAL_AMFLAGS = -I m4 check-root: cd tests && $(MAKE) $@ +dist-hook: + test -x config/install-sh + distcheck-hook: $(MAKE) my-distcheck