view netinstall/version.pl @ 917:259c80d93e3b

[xemacs-hg @ 2002-07-11 18:41:26 by stephent] doc autodetect of modules <pssn429an1.fsf@diannao.ittc.ku.edu>
author stephent
date Thu, 11 Jul 2002 18:41:27 +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";
  }
}