aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-01-23 16:13:56 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-01-23 16:13:56 +0000
commit2aa424b3fe48eeb962e7dcd69f4768ad38463df8 (patch)
treec551a8ba03316ac01bdc3f782421f07e2384570f /configure
parentMerge branch 'bug/changelog' (diff)
parentUpdate to 0.5.3+gitYYYYMMDD (generate from ChangeLog) (diff)
downloadw3m-2aa424b3fe48eeb962e7dcd69f4768ad38463df8.tar.gz
w3m-2aa424b3fe48eeb962e7dcd69f4768ad38463df8.zip
Merge branch 'feature/debian-version'
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 2ba82d5..c721825 100755
--- a/configure
+++ b/configure
@@ -9085,7 +9085,8 @@ _ACEOF
cvsver=`$AWK '\$1 ~ /Id:/ { print \$3}' $srcdir/ChangeLog`
- sed -e 's/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c
+ ymdver=`sed -e 's/ .*//;s/-//g;q' $srcdir/ChangeLog`
+ sed -e 's/define CURRENT_VERSION "\(.*\)YYYYMMDD/define CURRENT_VERSION "\1'$ymdver'/;s/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c
CURRENT_VERSION=`sed -n 's/.*define CURRENT_VERSION *"w3m\/\(.*\)".*$/\1/p' version.c`
ac_config_files="$ac_config_files Makefile posubst po/Makefile.in scripts/Makefile scripts/dirlist.cgi scripts/w3mhelp.cgi scripts/w3mmail.cgi scripts/xface2xpm scripts/multipart/Makefile scripts/multipart/multipart.cgi scripts/w3mman/Makefile scripts/w3mman/w3mman scripts/w3mman/w3mman.1 scripts/w3mman/w3mman2html.cgi libwc/Makefile w3mimg/Makefile w3mimg/fb/Makefile w3mimg/x11/Makefile w3mimg/win/Makefile w3mhelp-w3m_en.html w3mhelp-w3m_ja.html w3mhelp-lynx_en.html w3mhelp-lynx_ja.html"