Mercurial > hg > xemacs-beta
view netinstall/version.pl @ 1799:19c89a2e24b6
[xemacs-hg @ 2003-11-20 16:04:45 by james]
Autodetect the typeof extension.
author | james |
---|---|
date | Thu, 20 Nov 2003 16:04:47 +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"; } }