view netinstall/version.pl @ 1092:f5d8712231af

[xemacs-hg @ 2002-11-11 14:19:07 by stephent] no btn1 in info <873cq819ac.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 11 Nov 2002 14:19:11 +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";
  }
}