view netinstall/version.pl @ 3256:003a3fe2fd35

[xemacs-hg @ 2006-02-25 11:58:56 by stephent] Prep CHANGES-beta for 21.5.25 release.
author stephent
date Sat, 25 Feb 2006 11:58:56 +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";
  }
}