view netinstall/version.pl @ 2503:9db2c524b815

[xemacs-hg @ 2005-01-26 04:18:14 by ben] typo in font-lock.el font-lock.el: Proper defvars.
author ben
date Wed, 26 Jan 2005 04:18:15 +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";
  }
}