view netinstall/version.pl @ 1506:4d97756f2fbe

[xemacs-hg @ 2003-05-29 17:02:31 by james] Fix the use of GCC function attributes in ellcc.c
author james
date Thu, 29 May 2003 17:02:31 +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";
  }
}