view netinstall/version.pl @ 2299:a640f9c13696

[xemacs-hg @ 2004-09-22 03:04:35 by james] Include compiler.h to define the UNUSED macro.
author james
date Wed, 22 Sep 2004 03:04:44 +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";
  }
}