diff --git a/Makefile b/Makefile index 99dcfff654..c66fb3027b 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,14 @@ all: all check install installdirs installcheck installcheck-parallel uninstall clean distclean maintainer-clean dist distcheck world check-world install-world installcheck-world: @if [ ! -f GNUmakefile ] ; then \ + if [ -f INSTALL ] ; then \ + INSTRUCTIONS="INSTALL"; \ + else \ + INSTRUCTIONS="README.git"; \ + fi; \ echo "You need to run the 'configure' program first. See the file"; \ - echo "'INSTALL' for installation instructions." ; \ + echo "'$$INSTRUCTIONS' for installation instructions, or visit: " ; \ + echo "" ; \ false ; \ fi @IFS=':' ; \