view netinstall/version.pl @ 2977:0a759f4c4225

[xemacs-hg @ 2005-10-05 04:32:44 by stephent] Aidan, I'm sick of yer naggin'! :-) <87achotwly.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 05 Oct 2005 04:32:45 +0000
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}