aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 99dcfff654d..c66fb3027b8 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 "<https://www.postgresql.org/docs/devel/installation.html>" ; \
false ; \
fi
@IFS=':' ; \