]> git.donarmstrong.com Git - lilypond.git/commitdiff
Require configure script to be older than aclocal.m4 and configure.in
authorJohn Mandereau <john.mandereau@gmail.com>
Mon, 10 Aug 2009 08:20:34 +0000 (10:20 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Mon, 10 Aug 2009 08:20:34 +0000 (10:20 +0200)
stepmake/stepmake/generic-targets.make

index b98eb8c8c354d19d9cb8238ff53df2a9d8931a85..d9501521085f376c9fb0e6ef06c521964c09c27a 100644 (file)
@@ -164,9 +164,17 @@ $(config_make): $(top-src-dir)/configure
        @echo "************************************************************"
        @echo "configure changed! You should probably reconfigure manually."
        @echo "************************************************************"
+# do something for multiple simultaneous configs.
        (cd $(top-build-dir); ./config.status)
-       touch $@                # do something for multiple simultaneous configs.
+       touch $@
 
+$(top-src-dir)/configure: $(top-src-dir)/configure.in \
+ $(top-src-dir)/stepmake/aclocal.m4
+       @echo "************************************************************"
+       @echo "configure.in and/or stepmake/aclocal.m4 changed!"
+       @echo "Please regenerate configure with autogen.sh."
+       @echo "************************************************************"
+       @false
 
 #### Documentation (website and tarball)