diff options
author | Kevin Gibbs <kgibbs@src.gnome.org> | 2001-07-21 05:39:10 +0800 |
---|---|---|
committer | Kevin Gibbs <kgibbs@src.gnome.org> | 2001-07-21 05:39:10 +0800 |
commit | 5637adc2c07617b7f5ea206d24cfa073787a4e0d (patch) | |
tree | afacbc5d8192c3f0dadffe1601977defcfc12bd5 /macros/xerces-version.pl | |
parent | ebed1c3e177855c79663ba7208cd620cd76c21f0 (diff) | |
download | gsoc2013-evolution-5637adc2c07617b7f5ea206d24cfa073787a4e0d.tar.gz gsoc2013-evolution-5637adc2c07617b7f5ea206d24cfa073787a4e0d.tar.zst gsoc2013-evolution-5637adc2c07617b7f5ea206d24cfa073787a4e0d.zip |
Make dist, dist check, and rpm are now supported and working. If you want to distribute a copy of SashMo to someone, you should type "make dist" and send them the tarball.
svn path=/trunk/; revision=11279
Diffstat (limited to 'macros/xerces-version.pl')
-rw-r--r-- | macros/xerces-version.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/xerces-version.pl b/macros/xerces-version.pl new file mode 100644 index 0000000000..5c21b4e275 --- /dev/null +++ b/macros/xerces-version.pl @@ -0,0 +1,13 @@ +#!/usr/bin/perl + +$maj = 0; +$min = 0; +while (<>) { + if (/xerces-c(\d+)_(\d+)\.so$/) { + if ($1 > $maj || (\\$1 == $maj && \$2 > $min)) { + $maj = $1; + $min = $2; + } + } +} +print $maj,"_",$min |