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
26 lines
732 B
Bash
26 lines
732 B
Bash
# 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
|