view netinstall/version.pl @ 2965:0612d54a372a

[xemacs-hg @ 2005-09-30 02:15:06 by ben] fix --disable-debug error alloca.c: Don't declare a variable `register' when it can be passed to xfree(), which may take its address. new -> new_.
author ben
date Fri, 30 Sep 2005 02:15:08 +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";
  }
}