diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-07 19:50:37 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-07 19:50:37 +0000 |
commit | 66a79a82df228c4aecaf45caca0b18f87a41a5a3 (patch) | |
tree | d61f758511f017da2b75ecc08921525caba0b6a7 | |
parent | [w3m-dev 02642] (diff) | |
download | w3m-66a79a82df228c4aecaf45caca0b18f87a41a5a3.tar.gz w3m-66a79a82df228c4aecaf45caca0b18f87a41a5a3.zip |
[w3m-dev 02641]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | .cvsignore | 2 | ||||
-rw-r--r-- | ChangeLog | 10 | ||||
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | version.c | 6 | ||||
-rw-r--r-- | version.c.in | 6 |
5 files changed, 20 insertions, 9 deletions
@@ -10,4 +10,4 @@ mktable w3m w3mbookmark w3mhelperpanel -_zmachdep.c +version.c @@ -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] @@ -1091,4 +1099,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.115 2001/12/07 08:04:53 ukai Exp $ +$Id: ChangeLog,v 1.116 2001/12/07 19:50:37 ukai Exp $ @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.32 2001/12/04 18:57:51 ukai Exp $ +# $Id: configure,v 1.33 2001/12/07 19:50:37 ukai Exp $ # Configuration. # @@ -1838,6 +1838,9 @@ case $dmodel in 6) modelname=custom;; esac +cvsver=`awk '\$1 ~ /\\$Id: configure,v 1.33 2001/12/07 19:50:37 ukai Exp $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 deleted file mode 100644 index 0d12373..0000000 --- a/version.c +++ /dev/null @@ -1,6 +0,0 @@ -/* $Id: version.c,v 1.6 2001/11/29 09:34:15 ukai Exp $ */ -#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 new file mode 100644 index 0000000..a3a80b0 --- /dev/null +++ b/version.c.in @@ -0,0 +1,6 @@ +/* $Id: version.c.in,v 1.1 2001/12/07 19:50:38 ukai Exp $ */ +#define CURRENT_VERSION "w3m/0.2.2+cvs" + +#ifndef FM_H +char *w3m_version = CURRENT_VERSION; +#endif /* not FM_H */ |