Am Samstag, 8. April 2006 22:26 schrieb Dennis Schridde:
> > attached is a proposal for a replacement for revision.h.
> [23:21] <per> regarding changing revision.h ... please make sure whatever
> you change it to works with both autoconf and makefile.raw, at least.
> working with msvc or whatever would also be nice.
Would adding the following to makefile.raw be enough?

.PHONY: version.c
version.c:
        echo -n 'const char* version(void) { return "2.0.3"; }'  > version.c
        echo -n 'const char* revision(void) { return "000"; }'  >> version.c

Or should I create a template, like revision.h.template, with placeholders for 
the version/revision number and advise the users in the README to edit it?

--Dennis

Attachment: pgp0FDk5itoS2.pgp
Description: PGP signature

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to