view netinstall/version.pl @ 2524:c634f2d588e8

[xemacs-hg @ 2005-01-28 01:54:47 by ben] Fixes to xemacs.mak xemacs.mak: Use filename only when calling makeinfo, or it chokes on index generation. xemacs.mak: Generate separate .pdb and .map files for temacs/xemacs; may make profiling possible.
author ben
date Fri, 28 Jan 2005 01:54:47 +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";
  }
}