]> git.donarmstrong.com Git - lilypond.git/commitdiff
barf if config.h is older than configure.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 3 Aug 2002 13:39:01 +0000 (13:39 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 3 Aug 2002 13:39:01 +0000 (13:39 +0000)
ChangeLog
GNUmakefile.in

index 1695c693a2da5b5a6346f59bd31f84ad1cf93cdc..bd11b2b774e9d5e7aeb61a865ae408501bdedd77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2002-08-03  Han-Wen  <hanwen@cs.uu.nl>
 
+       * GNUmakefile.in: barf if config.h is older than configure. 
+
        * VERSION: released 1.5.71 
        
        * lily/beam.cc (consider_auto_knees): rewrite function; now only
index 16aa3d02ec980ce738a4f3e563b0698d209be179..97db8f7136a0adc61d498994a1b7e4db192a834b 100644 (file)
@@ -117,7 +117,7 @@ top-WWW-clean:
 
 WWW:
 
-default: builddir-setup
+default: $(config_h) builddir-setup
 
 builddir-setup: $(builddir)/share/lilypond-force
 
@@ -148,3 +148,15 @@ $(builddir)/share/lilypond-force:
 local-clean: builddir-setup-clean
 builddir-setup-clean:
        @cd $(builddir) && rm -rf share
+
+$(config_h): configure
+#
+# this is to prevent people from getting
+# undefined symbols  when we add them to config.h.in,
+# and they blindly run "cvs update; make".
+#
+       @echo
+       @echo ' *** config.h file is out of date'
+       @echo ' *** Rerun configure or autogen.sh'
+       @echo
+       @false