view netinstall/version.pl @ 4712:a46d7513a364

`beginning-of-defun-function', `end-of-defun-function' made buffer-local. Setting it globally would make the default unreachable.
author Andreas Roehler <andreas.roehler@online.de>
date Wed, 07 Oct 2009 19:42:42 +0200
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";
  }
}