Commit 58937e01 authored by dimitri's avatar dimitri

Release-1.4.5-20051227

parent d4da97f3
# Extract the version information from the configure script and write
# it in the version of the VERSION file to stdout.
# Should be called from the root of the distribution.
open(FILE,"<configure") || die "Could not open configure file!";
while (<FILE>) {
if (/doxygen_version_major=(\d+)/) {
$major=$1
} elsif (/doxygen_version_minor=(\d+)/) {
$minor=$1
} elsif (/doxygen_version_revision=(\d+)/) {
$revision=$1
} elsif (/doxygen_version_mmn=(\w+)/) {
$mmn=$1
}
}
if ($mmn) {
print "$major.$minor.$revision-$mmn\n";
} else {
print "$major.$minor.$revision\n";
}
close(FILE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment