summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 4731bf17f..4e52f2727 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -39,7 +39,7 @@ info: fileutils.info
version.texi: ../src/version.c
sed -e '/version_string/!d' \
- -e 's/[^"]*"\([^"]*\)".*/@set VERSION \1/' \
+ -e 's/[^0-9.]*\([0-9.a-z]*\).*/@set VERSION \1/' \
-e q $(srcdir)/../src/version.c \
> $@-t
echo '@set RELEASEDATE '`date '+%B %Y'` >> $@-t