w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit f5c154841274a74ce0338963d1d5c5102973d586
parent 192b0f280da0d999856682c15ab96d8a1ee2b13f
Author: ukai <ukai>
Date:   Fri,  7 Dec 2001 19:50:37 +0000

[w3m-dev 02641]
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
M.cvsignore | 2+-
MChangeLog | 8++++++++
Mconfigure | 3+++
Dversion.c | 6------
Aversion.c.in | 6++++++
5 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/.cvsignore b/.cvsignore @@ -10,4 +10,4 @@ mktable w3m w3mbookmark w3mhelperpanel -_zmachdep.c +version.c diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,11 @@ +2001-12-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02641] + * configure: generate version.c from version.c.in + * version.c.in: added + * version.c: deleted, autogenerated from version.c.in + * .cvsignore (version.c): added + 2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 02642] diff --git a/configure b/configure @@ -1838,6 +1838,9 @@ case $dmodel in 6) modelname=custom;; esac +cvsver=`awk '\$1 ~ /\\$Id$3}' ChangeLog` +sed -e 's/^#define CURRENT_VERSION "\(.*\)+cvs.*"/#define CURRENT_VERSION "\1+cvs-'$cvsver'"/' version.c.in > version.c + cat > extrvers.c << EOF #include <stdio.h> #include <string.h> diff --git a/version.c b/version.c @@ -1,6 +0,0 @@ -/* $Id$ */ -#define CURRENT_VERSION "w3m/0.2.2" - -#ifndef FM_H -char *w3m_version = CURRENT_VERSION; -#endif /* not FM_H */ diff --git a/version.c.in b/version.c.in @@ -0,0 +1,6 @@ +/* $Id$ */ +#define CURRENT_VERSION "w3m/0.2.2+cvs" + +#ifndef FM_H +char *w3m_version = CURRENT_VERSION; +#endif /* not FM_H */