view netinstall/version.pl @ 2391:522ce30766a2

[xemacs-hg @ 2004-11-15 20:15:18 by adrian] [PATCH] xemacs-21.5: Typo fix for devan-util.el <d5ygh0oc.fsf@smtprelay.t-online.de>
author adrian
date Mon, 15 Nov 2004 20:15:22 +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";
  }
}