annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 while (<STDIN>) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 if (/^\$Revision:\s*([0-9\.]*)/) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 print "char *version = \"$1\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 }
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 }