[project @ 2000-01-31 15:35:05 by simonmar]
authorsimonmar <unknown>
Mon, 31 Jan 2000 15:35:05 +0000 (15:35 +0000)
committersimonmar <unknown>
Mon, 31 Jan 2000 15:35:05 +0000 (15:35 +0000)
Add configure target to detect when autoconf needs to be run.

Makefile

index efa8633..35ade8b 100644 (file)
--- 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: