summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig
index e0522ab815..b9de4f3329 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -471,9 +471,9 @@ endif
# 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 $@