view netinstall/version.pl @ 1184:b3e062e7368f

[xemacs-hg @ 2003-01-03 12:15:03 by stephent] continuation commit
author stephent
date Fri, 03 Jan 2003 12:15:03 +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";
  }
}