view netinstall/version.pl @ 2465:afab4c317508

[xemacs-hg @ 2005-01-03 10:29:11 by michaels] 2005-01-03 Mike Sperber <mike@xemacs.org> * dumped-lisp.el (preloaded-file-list): Prefix Mule files with mule/, unbreaking the build.
author michaels
date Mon, 03 Jan 2005 10:29:13 +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";
  }
}