view netinstall/version.pl @ 3714:cee87f8de64b

[xemacs-hg @ 2006-11-30 07:29:34 by michaels] 2006-11-28 Mike Sperber <mike@xemacs.org> * files.el (revert-buffer-internal): Determine the coding system while still in the original buffer, rather than the new one.
author michaels
date Thu, 30 Nov 2006 07:29:36 +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";
  }
}