view netinstall/version.pl @ 1756:b5db5c9230b1

[xemacs-hg @ 2003-10-16 19:44:34 by james] Support icc, the Intel compiler.
author james
date Thu, 16 Oct 2003 19:44:37 +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";
  }
}