Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Wed, 8 May 1996 02:06:03 +0000 (02:06 +0000)
committerroland <roland>
Wed, 8 May 1996 02:06:03 +0000 (02:06 +0000)
* Makeconfig (version.mk): Fix regexp in sed cmd.
Depend on $(..)Makeconfig.

Makeconfig

index e0522ab..b9de4f3 100644 (file)
@@ -471,9 +471,9 @@ endif
 \f
 # Figure out the version numbers from version.h.
 
-$(common-objpfx)version.mk: $(..)version.h
-       sed -n -e 's/^.*RELEASE.*\"\([^"]*\)";$$/release=\1/p' \
-              -e 's/^.*VERSION.*\"\([^"]*\)";$$/version=\1/p' \
+$(common-objpfx)version.mk: $(..)version.h $(..)Makeconfig
+       sed -n -e 's/^.*RELEASE.*"\([^"]*\)".*$$/release=\1/p' \
+              -e 's/^.*VERSION.*"\([^"]*\)".*$$/version=\1/p' \
            < $< > $@-new
        mv -f $@-new $@