view netinstall/version.pl @ 4895:65ad2cd9f2ff

Automated merge with http://hg.debian.org/hg/xemacs/xemacs
author Ben Wing <ben@xemacs.org>
date Fri, 29 Jan 2010 15:06:36 -0600
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";
  }
}