view netinstall/version.pl @ 2069:97a3d9ad40e2

[xemacs-hg @ 2004-05-10 07:18:54 by stephent] tweak internals.texi <87vfj43g4j.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 10 May 2004 07:18:58 +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";
  }
}