view netinstall/version.pl @ 3228:80361b938eaa

[xemacs-hg @ 2006-02-04 02:25:47 by vins] Fix /bin/gcc no-X xpm builds on cygwin.
author vins
date Sat, 04 Feb 2006 02:25:52 +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";
  }
}