view netinstall/version.pl @ 2103:19834ffbffc4

[xemacs-hg @ 2004-05-29 23:57:41 by adrian] [R21.421.5] [PATCH] xemacs-21.5: Fix assert in make install caused <he0h35d1.fsf@smtpmail.t-online.de>
author adrian
date Sat, 29 May 2004 23:57:41 +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";
  }
}