From: simonmar Date: Mon, 31 Jan 2000 15:35:05 +0000 (+0000) Subject: [project @ 2000-01-31 15:35:05 by simonmar] X-Git-Tag: Approximately_9120_patches~5168 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8db5c9818937c1f952e4cdd58451ea6b25975441;hp=7a98ee19927e0bce69fd0141eb9d714577b7d0da;p=ghc-hetmet.git [project @ 2000-01-31 15:35:05 by simonmar] Add configure target to detect when autoconf needs to be run. --- diff --git a/Makefile b/Makefile index efa8633..35ade8b 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: