view netinstall/version.pl @ 3493:cb20b201d5e6

[xemacs-hg @ 2006-07-07 19:51:13 by aidan] Small bug in the INLINE_HEADER macro.
author aidan
date Fri, 07 Jul 2006 19:51: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";
  }
}