view netinstall/version.pl @ 3118:28ffea327985

[xemacs-hg @ 2005-11-30 11:28:56 by crestani] xemacs.def.in.in: Condition error_check_* symbols on ERROR_CHECK_TYPES.
author crestani
date Wed, 30 Nov 2005 11:28:58 +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";
  }
}