view netinstall/version.pl @ 3036:1c30c1cf589e

[xemacs-hg @ 2005-10-29 07:18:19 by youngs] 2005-10-29 Steve Youngs <steve@sxemacs.org> * unexelf.c (unexec): Fix data types. From: Andrey Slusar <anrays@gmail.com>
author youngs
date Sat, 29 Oct 2005 07:18:21 +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";
  }
}