view netinstall/version.pl @ 3054:f4a678ca6f3d

[xemacs-hg @ 2005-11-10 15:45:13 by crestani] Fix build output directory structure.
author crestani
date Thu, 10 Nov 2005 15:45:13 +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";
  }
}