view netinstall/version.pl @ 519:1c3b60121364

[xemacs-hg @ 2001-05-08 06:00:32 by martinb] Yoshiaki Kasahara: make-charset doesnt handle short-name properly
author martinb
date Tue, 08 May 2001 06:00:34 +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";
  }
}