view netinstall/version.pl @ 4203:0a63e5de7bdc

[xemacs-hg @ 2007-10-02 19:31:30 by aidan] Synch up format-time-string % specifiers with Emacs 21.3.1, from Shyamal Prasad.
author aidan
date Tue, 02 Oct 2007 19:31:31 +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";
  }
}