view netinstall/version.pl @ 3481:71532ccbd8e3

[xemacs-hg @ 2006-06-29 14:51:59 by stephent] Maybe create $srcdir/src/depend.
author stephent
date Thu, 29 Jun 2006 14:52:00 +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";
  }
}