view netinstall/version.pl @ 516:8a4db099aa97

[xemacs-hg @ 2001-05-07 14:55:13 by yoshiki] zhaoway's patch "compile --without-scrollbars", <871yqlimt4.fsf@debian.org>
author yoshiki
date Mon, 07 May 2001 14:55:14 +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";
  }
}