view netinstall/version.pl @ 3248:8d7c2461057a

[xemacs-hg @ 2006-02-20 15:58:23 by stephent] configure.ac comments. <877j7qqb0z.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 20 Feb 2006 15:58:24 +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";
  }
}