Mercurial > hg > xemacs-beta
view netinstall/version.pl @ 3157:44a63e4a23cd
[xemacs-hg @ 2005-12-22 13:58:15 by stephent]
Don't use C99 features (declarations after code). <871x05mesn.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Thu, 22 Dec 2005 13:58:16 +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"; } }