view netinstall/version.pl @ 3545:2ba8b7a25429

[xemacs-hg @ 2006-08-06 16:37:31 by aidan] Add an informative assertion and comment to snarf-documentation.
author aidan
date Sun, 06 Aug 2006 16:37:33 +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";
  }
}