view netinstall/version.pl @ 3862:cfc59907fb1e

[xemacs-hg @ 2007-03-13 16:48:37 by stephent] Autoconf improvements. <87fy89ay3n.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Tue, 13 Mar 2007 16:48:38 +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";
  }
}