aboutsummaryrefslogtreecommitdiffstats
path: root/make-version.pl
AgeCommit message (Collapse)AuthorFilesLines
2005-01-18Fix the handling of "enable: 0" in version.conf.Gerald Combs1-0/+2
svn path=/trunk/; revision=13109
2004-12-29If we can't find the "svn" executable in the current path, look inGerald Combs1-2/+16
"c:/cygwin/lib/subversion/bin/", which is the current default location for Subversion 1.1.1 under Cygwin. If we still can't find "svn", simply return instead of exiting. svn path=/trunk/; revision=12856
2004-12-17Remove debugging output.Gerald Combs1-2/+0
svn path=/trunk/; revision=12768
2004-12-17Work around a bug in the strftime() code in the Windows version of Perl.Gerald Combs1-4/+8
svn path=/trunk/; revision=12767
2004-12-16From Thomas Boehne: Fix the version.conf status message and improve codeGerald Combs1-3/+10
readability. Fix a bug in my previous checkin, so that svnversion.h will be created even when the ".svn/" directory isn't present. svn path=/trunk/; revision=12762
2004-12-15Add a "pkg_format" option, which is used to format the AM_INIT_AUTOMAKEGerald Combs1-20/+115
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-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
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-15Convert make-version.pl and the associated cvsversion.h and CVSVERSIONGerald Combs1-65/+26
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-03-04Andrew Hood: don't rely on last modified date + use numeric compareJörg Mayer1-25/+6
svn path=/trunk/; revision=10302
2004-02-20Add support for a "version.conf" file in the main directory which canGerald Combs1-11/+48
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-01Speed up the generation of the CVS version tag, by only looking for directoriesOlivier Biot1-42/+83
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-01-18Add a few commentsJörg Mayer1-1/+10
svn path=/trunk/; revision=9711
2004-01-18Nice rendering of the CVS version as "(cvs 200401181200003000)".Olivier Biot1-3/+3
The make-version.pl script only defines CVSVERSION if this was a build from CVS. svn path=/trunk/; revision=9701
2004-01-17Integrate the "find . -name Entries" into make-version.pl, to make thisJörg Mayer1-6/+25
work with nmake too. svn path=/trunk/; revision=9694
2004-01-16In case of CVS sources, add the date of the last change to the versionJörg Mayer1-0/+82
number. 2do: Add support to Makefile.nmake Enforce the generation of cvsversion.h on each run of make svn path=/trunk/; revision=9679