view netinstall/version.pl @ 4111:ff446f61f88f

[xemacs-hg @ 2007-08-11 14:42:50 by michaels] 2007-08-09 Mike Sperber <mike@xemacs.org> * startup.el (migrate-user-init-file): Create backup of `user-init-file' before migrating. * startup.el (maybe-migrate-user-init-file): Print information about backup file. (maybe-create-compatibility-dot-emacs): Follow above change.
author michaels
date Sat, 11 Aug 2007 14:42:51 +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";
  }
}