view netinstall/version.pl @ 602:b9f1a2e84ead

[xemacs-hg @ 2001-06-01 08:17:05 by martinb] Mule-related corrections to manual
author martinb
date Fri, 01 Jun 2001 08:17:05 +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";
  }
}