summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsimonmar <unknown>2000-01-31 15:35:05 +0000
committersimonmar <unknown>2000-01-31 15:35:05 +0000
commit8db5c9818937c1f952e4cdd58451ea6b25975441 (patch)
tree85616f778846fc4c675d5586f1a4c254dddf7474 /Makefile
parent7a98ee19927e0bce69fd0141eb9d714577b7d0da (diff)
downloadhaskell-8db5c9818937c1f952e4cdd58451ea6b25975441.tar.gz
[project @ 2000-01-31 15:35:05 by simonmar]
Add configure target to detect when autoconf needs to be run.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index efa863360e..35ade8b4f4 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,16 @@ SRC_DIST_DIRS += mk docs distrib $(ProjectsToBuild)
SRC_DIST_FILES += configure.in config.guess config.sub configure aclocal.m4 acconfig.h README INSTALL Makefile install-sh
# -----------------------------------------------------------------------------
+# Make sure configure is up-to-date
+
+all boot :: configure
+configure :: configure.in
+ @echo "WARNING: configure needs to be regenerated. Type"
+ @echo " make -f Makefile.config ./configure"
+ @echo "and rerun make."
+ @exit 16
+
+# -----------------------------------------------------------------------------
# Making a binary distribution
#
# To make a particular binary distribution: