diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-22 10:02:04 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-22 10:02:04 +0000 |
commit | 7cbee38df1e184c08d5a5a27bca38833dc3fe063 (patch) | |
tree | 2baf7bb4be0c7f23fa897ef671018bb1b8fe3dd0 /configure | |
parent | w3mhelp*html is autogenerated files (diff) | |
download | w3m-7cbee38df1e184c08d5a5a27bca38833dc3fe063.tar.gz w3m-7cbee38df1e184c08d5a5a27bca38833dc3fe063.zip |
[w3m-dev 02696]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.45 2001/12/21 22:02:39 ukai Exp $ +# $Id: configure,v 1.46 2001/12/22 10:02:04 ukai Exp $ # Configuration. # @@ -1897,9 +1897,10 @@ 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 +for h_in in w3mhelp-*_*.html.in do - sed -e 's/@CURRENT_VERSION@/'$cur_ver'/' $h.in > $h + h=`expr "$h_in" : '\(.*\)\.in'` + sed -e 's/@CURRENT_VERSION@/'$cur_ver'/' $h_in > $h done cat > extrvers.c << EOF |