view netinstall/version.pl @ 2315:e219f63b9c24

[xemacs-hg @ 2004-09-29 15:38:30 by james] Turn of -Wunused-parameter for g++.
author james
date Wed, 29 Sep 2004 15:38:32 +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";
  }
}