view netinstall/version.pl @ 1548:5365af805d4c

[xemacs-hg @ 2003-06-30 09:24:47 by stephent] maybe compile docstring as value <87n0fz9ax2.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 30 Jun 2003 09:24: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";
  }
}