-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I've improved the generation of version.c, removing the intermediate generation of an "hg-id" file and using a more portable replacement for "hg id | cut -d ' ' -f 1" (can be used on Windows and MS-DOS).
The relevant lines in src/Makefile.am are now: version.c: $(wget_SOURCES) $(LDADD) printf '%s' 'const char *version_string = "@VERSION@' > $@ -hg log -r tip --template=' ({node|short})' >> $@ printf '%s\n' '";' >> $@ (The printf commands aren't portable to Windows AFAIK, but this should be easier to adapt, at any rate. Note that "echo -n" is not a portable method for suppressing newlines in echo's output.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFAXf7M8hyUobTrERCFFmAJ9cR5Pg2wJb3SP/8c3lVXCuuLcyHACfZCmO vG29YrdpWnm5csHE381L/Ug= =HVHe -----END PGP SIGNATURE-----