view netinstall/version.pl @ 3706:4ca1ef2bdb6a

[xemacs-hg @ 2006-11-28 16:09:45 by aidan] Ibyte -> Ascbyte for constants, for the sake of the MSVC build.
author aidan
date Tue, 28 Nov 2006 16:09:47 +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";
  }
}