view netinstall/version.pl @ 2562:ecc681180115

[xemacs-hg @ 2005-02-04 02:59:26 by ben] Add custom-defines to shadow ignores shadow.el: Ignore custom-defines.
author ben
date Fri, 04 Feb 2005 02:59:27 +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";
  }
}