view netinstall/version.pl @ 3698:7d97cf62c899

[xemacs-hg @ 2006-11-24 13:45:37 by aidan] Within truncate-command-history-for-gc, delay execution of all things that look up variable bindings, via 'enqueue-eval-event'.
author aidan
date Fri, 24 Nov 2006 13:45:38 +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";
  }
}