view netinstall/version.pl @ 4205:579f03038f61

[xemacs-hg @ 2007-10-02 20:08:57 by aidan] Document that START and END are zero-based for insert-file-contents.
author aidan
date Tue, 02 Oct 2007 20:09:01 +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";
  }
}