view netinstall/version.pl @ 699:1f799c0f4c7e

[xemacs-hg @ 2001-12-16 17:39:53 by adrian] [PATCH APPROVE COMMIT] xemacs-21.5: Update version to 21.5 in info/dir <y9k4p95r.fsf@mailto.t-online.de>
author adrian
date Sun, 16 Dec 2001 17:39:53 +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";
  }
}