view netinstall/version.pl @ 5279:d0bc331e433f

Turns out #elsif is not valid preprocessor syntax, who knew! src/ChangeLog addition: 2010-09-18 Aidan Kehoe <kehoea@parhasard.net> * lisp.h (PARSE_KEYWORDS): Turns out #elsif is not valid preprocessor syntax, who knew!
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 18 Sep 2010 18:02:28 +0100
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";
  }
}