summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-11-16 12:01:37 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-11-16 12:01:37 +0000
commit20f0cead360b5192554cc20ab4dd93da47fddd40 (patch)
treed562aac5fe02361a6b066deedf25b0d1ba60e09a /Makefile
parentab89b495bed2f3b5aafbac5b7b9b7d616be7bdf6 (diff)
downloadhaskell-20f0cead360b5192554cc20ab4dd93da47fddd40.tar.gz
Add an install-docs target that emits a helpful diagnostic (#3662)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e23db74591..de5ee8a651 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ endif
include mk/custom-settings.mk
# No need to update makefiles for these targets:
-REALGOALS=$(filter-out binary-dist binary-dist-prep bootstrapping-files framework-pkg clean clean_% distclean maintainer-clean show help,$(MAKECMDGOALS))
+REALGOALS=$(filter-out binary-dist binary-dist-prep bootstrapping-files framework-pkg clean clean_% distclean maintainer-clean show help install-docs,$(MAKECMDGOALS))
# configure touches certain files even if they haven't changed. This
# can mean a lot of unnecessary recompilation after a re-configure, so
@@ -108,6 +108,12 @@ framework-pkg:
$(MAKE) -C distrib/MacOS $@
endif
+# install-docs is a historical target that isn't supported in GHC 6.12. See #3662.
+install-docs:
+ @echo "The install-docs target is not supported in GHC 6.12.1 and later."
+ @echo "'make install' now installs everything, including documentation."
+ @exit 1
+
# If the user says 'make A B', then we don't want to invoke two
# instances of the rule above in parallel:
.NOTPARALLEL: