view netinstall/version.pl @ 3950:4cc3828e29bb

[xemacs-hg @ 2007-05-12 13:12:26 by aidan] Have set-buffer-file-coding-system mark the buffer as modified.
author aidan
date Sat, 12 May 2007 13:12:28 +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";
  }
}