view netinstall/version.pl @ 3644:cb9e9a46686b

[xemacs-hg @ 2006-10-30 11:36:59 by malcolmp] device-x.c: Look in more directories when searching for the locale specific app-defaults files.
author malcolmp
date Mon, 30 Oct 2006 11:37:01 +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";
  }
}