view netinstall/version.pl @ 2972:2b58b7fd831c

[xemacs-hg @ 2005-10-04 17:00:32 by stephent] Document build infra for modules distributed in core <871x31uslr.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 04 Oct 2005 17:00:33 +0000 (2005-10-04)
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";
  }
}