VERSION, Source/Include/swigver.h.in: New files.
Source/Include/swigver.h: Deleted from repo, now generated by configure from swigver.h.in same directory. configure.in: Source ./VERSION to get var definitions. (PACKAGE, VERSION, SWIG_VERSION, SWIG_SPIN): New vars, @-substituted. Also do `AC_OUTPUT' on Source/Include/swigver.h. Makefile.in (dd): New var, the distribution directory. (dist, dist-suggested): New targets. Source/SWIG1.1/emit.cxx (emit_banner): Use `SWIG_VERSION' instead of integers `SWIG_VERSION_MAJOR' and `SWIG_VERSION_MINOR' (which are deleted). Source/SWIG1.1/main.cxx (SWIG_main): Likewise. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
63a36f8008
commit
e0957d51e2
6 changed files with 150 additions and 82 deletions
26
SWIG/VERSION
Normal file
26
SWIG/VERSION
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# This is a -*- shell-script -*- sourced by configure
|
||||
|
||||
# Commentary:
|
||||
#
|
||||
# This file is included in the distribution.
|
||||
#
|
||||
# The variable `devrelease_today' is the version suffix "u-DATE-TIME".
|
||||
# This ensures a version w/ second resolution, great for developers, but
|
||||
# unnecessary for release. The "u" is for "unstable". For release,
|
||||
# remove (or comment out) the `devrelease_today' component of var
|
||||
# `SWIG_MINOR_VERSION', do "make dist", and then add `devrelease_today'
|
||||
# back again.
|
||||
|
||||
devrelease_today=u-`date +%Y%m%d-%H%M`
|
||||
|
||||
SWIG_MAJOR_VERSION=1
|
||||
SWIG_MINOR_VERSION=3$devrelease_today
|
||||
|
||||
SWIG_VERSION=$SWIG_MAJOR_VERSION.$SWIG_MINOR_VERSION
|
||||
SWIG_SPIN='(Alpha 1)'
|
||||
|
||||
# For autoconf.
|
||||
VERSION=$SWIG_VERSION
|
||||
PACKAGE=swig
|
||||
|
||||
# VERSION ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue