view netinstall/version.pl @ 3879:f73b455b1472

[xemacs-hg @ 2007-03-25 15:34:59 by stephent] Olivier's fix for syntax tables. <20070324221053.GA48218@dspnet.fr.eu.org>
author stephent
date Sun, 25 Mar 2007 15:35:06 +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";
  }
}