view netinstall/version.pl @ 2372:79c79ee56386

[xemacs-hg @ 2004-11-07 07:24:39 by ben] To: xemacs-patches@xemacs.org frame-x.c: Fix compile error.
author ben
date Sun, 07 Nov 2004 07:24:41 +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";
  }
}