view netinstall/version.pl @ 3422:ebbc8ddcaf32

[xemacs-hg @ 2006-05-23 21:51:35 by viteno] Update src depends
author viteno
date Tue, 23 May 2006 21:51:35 +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";
  }
}