annotate netinstall/version.pl @ 1370:49cfb333a12a

[xemacs-hg @ 2003-03-22 20:50:44 by adrian] xemacs-21.5: Restore version convention in Installation produced by xemacs.mak -------------------- ChangeLog entries follow: -------------------- nt/ChangeLog addition: 2003-03-22 Adrian Aichner <adrian@xemacs.org> * xemacs.mak (installation): Restore version convention in enerated Installation file.
author adrian
date Sat, 22 Mar 2003 20:50:44 +0000
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 }