view netinstall/version.pl @ 1689:1193b7458e43

[xemacs-hg @ 2003-09-16 06:49:49 by crestani] 2003-09-16 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * xemacs.def.in.in: Add lrecord_memory_descriptions.
author crestani
date Tue, 16 Sep 2003 06:49:50 +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";
  }
}