view netinstall/version.pl @ 2627:cf6ef27aa9a7

[xemacs-hg @ 2005-03-02 13:06:38 by aidan] Make the #ifndef HAVE_XTREGISTERDRAWABLE msg polite, have it compile.
author aidan
date Wed, 02 Mar 2005 13:06:40 +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";
  }
}