view netinstall/version.pl @ 642:277f059a321b

[xemacs-hg @ 2001-08-01 18:59:04 by adrian] [PATCH] xemacs-21.5: Peter's patch refilled with verbatim ChangeLog <elqvbof1.fsf@ecf.teradyne.com>
author adrian
date Wed, 01 Aug 2001 18:59:04 +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";
  }
}