view netinstall/version.pl @ 1103:80d9ab2e9855

[xemacs-hg @ 2002-11-12 03:57:44 by stephent] byte compile options Info <87u1inwifn.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 12 Nov 2002 03:57:48 +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";
  }
}