Commit Graph

110 Commits

Author SHA1 Message Date
Gerald Combs 84b62c9d4a Add a "pkg_format" option, which is used to format the AM_INIT_AUTOMAKE
macro in configure.in and the VERSION macro in config.nmake.

Add a "-p/--package-version" command-line flag, which is used to set the
package version.

Add a "%#" format string code, which substitutes the SVN revision number.

Running "make-version.pl -p" will append "-SVN-xxxxx" to Ethereal's
version strings, including the automake tarball and NSIS installer names.

svn path=/trunk/; revision=12755
2004-12-15 04:25:22 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Gerald Combs 8106dc0862 Convert make-version.pl and the associated cvsversion.h and CVSVERSION
definition to Subversion.  "svn info" prints out the last changed date
of the repository, so we don't have to go hunting through "CVS/Entries"
files anymore.


svn path=/trunk/; revision=11379
2004-07-15 21:09:33 +00:00
Jörg Mayer ecc42c7717 Andrew Hood: don't rely on last modified date + use numeric compare
svn path=/trunk/; revision=10302
2004-03-04 16:19:40 +00:00
Gerald Combs 058dbba4b9 Add support for a "version.conf" file in the main directory which can
be used to adjust version preferences.  It understands two configuration
directives: "enable", which can be 0 or 1, and "format", which can be any
strftime()-compatible string, e.g. "V12-powered on %A %Y-%m-%d %H:%M:%S".

If no configuration file is present, the configuration defaults to

enable: 1
format: CVS %Y%m%d%H%M%S

svn path=/trunk/; revision=10139
2004-02-20 20:36:14 +00:00
Olivier Biot 0f6fb86143 Speed up the generation of the CVS version tag, by only looking for directories
named CVS, and by considering only the most recent Entries file herein.

Get rid of the code assuming that a CVS snapshot generates a "cvsversion" file.

svn path=/trunk/; revision=9944
2004-02-01 11:32:23 +00:00
Jörg Mayer 4ea271b660 Add a few comments
svn path=/trunk/; revision=9711
2004-01-18 05:17:23 +00:00
Olivier Biot 8db6fb47cd Nice rendering of the CVS version as "(cvs 200401181200003000)".
The make-version.pl script only defines CVSVERSION if this was a build
from CVS.

svn path=/trunk/; revision=9701
2004-01-18 01:41:14 +00:00
Jörg Mayer 1ae6e43f5d Integrate the "find . -name Entries" into make-version.pl, to make this
work with nmake too.

svn path=/trunk/; revision=9694
2004-01-17 13:09:00 +00:00
Jörg Mayer 0ac74ed036 In case of CVS sources, add the date of the last change to the version
number.

2do: Add support to Makefile.nmake
     Enforce the generation of cvsversion.h on each run of make

svn path=/trunk/; revision=9679
2004-01-16 20:04:21 +00:00