view netinstall/version.pl @ 5134:7666c09de946 ben-lisp-object

Close branch `ben-lisp-object', work has been integrated into mainline
author Ben Wing <ben@xemacs.org>
date Sun, 07 Mar 2010 06:51:39 -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";
  }
}