diff --git a/ChangeLog b/ChangeLog index 0897914..b77a27e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-12-22 Dai Sato + + * [w3m-dev 02687] version number in w3mhelp-*.html (+[w3m-dev 02689]) + * configure (cur_ver): w3mhelp*.html version subst + * w3mhelp*.html: deleted + * w3mhelp*.html.in: added + 2001-12-22 Tsutomu Okada * [w3m-dev 02682] @@ -1425,4 +1432,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.159 2001/12/21 21:51:11 ukai Exp $ +$Id: ChangeLog,v 1.160 2001/12/21 22:02:39 ukai Exp $ diff --git a/configure b/configure index c851313..30c8ad6 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.44 2001/12/21 21:37:12 ukai Exp $ +# $Id: configure,v 1.45 2001/12/21 22:02:39 ukai Exp $ # Configuration. # @@ -1896,6 +1896,12 @@ esac cvsver=`awk '\$1 ~ /[$]Id:/ { print \$3}' ChangeLog` sed -e 's/^#define CURRENT_VERSION "\(.*\)+cvs.*"/#define CURRENT_VERSION "\1+cvs-'$cvsver'"/' version.c.in > version.c +cur_ver=`sed -n 's/^#define CURRENT_VERSION *"w3m\/\([^"]*\)".*$/\1/p' version.c` +for h in w3mhelp-{lynx,w3m}_{en,ja}.html +do + sed -e 's/@CURRENT_VERSION@/'$cur_ver'/' $h.in > $h +done + cat > extrvers.c << EOF #include #include diff --git a/w3mhelp-lynx_en.html b/w3mhelp-lynx_en.html.in similarity index 98% rename from w3mhelp-lynx_en.html rename to w3mhelp-lynx_en.html.in index 9223c8e..7448877 100644 --- a/w3mhelp-lynx_en.html +++ b/w3mhelp-lynx_en.html.in @@ -7,7 +7,7 @@ ******* w3m - (WWW-wo-Miru) Version 0.2.3.2 by + (WWW-wo-Miru) Version @CURRENT_VERSION@ by A.ITO ********
***** Key assign table ***** diff --git a/w3mhelp-lynx_ja.html b/w3mhelp-lynx_ja.html.in similarity index 99% rename from w3mhelp-lynx_ja.html rename to w3mhelp-lynx_ja.html.in index 25ff1bf..d160984 100644 --- a/w3mhelp-lynx_ja.html +++ b/w3mhelp-lynx_ja.html.in @@ -7,7 +7,7 @@
******* w3m - (WWW-wo-Miru) Version 0.2.3.2 by + (WWW-wo-Miru) Version @CURRENT_VERSION@ by A.ITO(°ËÆ£¾´Â§) ********
diff --git a/w3mhelp-w3m_en.html b/w3mhelp-w3m_en.html.in similarity index 98% rename from w3mhelp-w3m_en.html rename to w3mhelp-w3m_en.html.in index 84ad6e5..eb46e8a 100644 --- a/w3mhelp-w3m_en.html +++ b/w3mhelp-w3m_en.html.in @@ -7,7 +7,7 @@ ******* w3m - (WWW-wo-Miru) Version 0.2.3.2 by + (WWW-wo-Miru) Version @CURRENT_VERSION@ by A.ITO ********
***** Key assign table *****
diff --git a/w3mhelp-w3m_ja.html b/w3mhelp-w3m_ja.html.in similarity index 99% rename from w3mhelp-w3m_ja.html rename to w3mhelp-w3m_ja.html.in index c91026f..95464ab 100644 --- a/w3mhelp-w3m_ja.html +++ b/w3mhelp-w3m_ja.html.in @@ -7,7 +7,7 @@
******* w3m - (WWW-wo-Miru) Version 0.2.3.2 by + (WWW-wo-Miru) Version @CURRENT_VERSION@ by A.ITO(°ËÆ£¾´Â§) ********