(dist-hook): New target, to ensure that config/install-sh
authorJim Meyering <jim@meyering.net>
Tue, 10 Feb 2004 08:17:33 +0000 (08:17 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 10 Feb 2004 08:17:33 +0000 (08:17 +0000)
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).

Makefile.am

index 262fda6..52cd849 100644 (file)
@@ -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