view netinstall/version.pl @ 3877:fe5bc63ff0e3

[xemacs-hg @ 2007-03-24 12:41:26 by stephent] Suppress warning, add more version info to etags. <87d52yx0xr.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Sat, 24 Mar 2007 12:41:26 +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";
  }
}