view netinstall/version.pl @ 1678:2422c1cd1afd

[xemacs-hg @ 2003-09-12 02:02:06 by james] Andrew Begel's patch to make modules build correctly on MacOS X.
author james
date Fri, 12 Sep 2003 02:02:07 +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";
  }
}