On Wed, Nov 03, 2010 at 05:33:42PM +0100, Denis Barbier wrote: > To be honest in our SVN trunk I already removed the > --no-backups/--rm-backups flags (backup files are no more generated) > and am inclined to also remove --rm-translations. > These options do more harm than good, and I would much prefer if > people do not run po4a to clean up generated files.
I'm not sure I agree. If I kept both the PO file and the generated translation file in revision control, I suspect that I would get confused translators sending me patches to the wrong files. I have to deal with confused translators quite enough already ... I like the idea of the option, and was hoping that it could be made to work cleanly. > Also your man/Rules.man file contains > distclean-hook: > @if [ "x$(PO4A_LINGUA)" = xyes ]; then \ > -rm -rf man1 man5 man8; \ > fi > Thus I wonder why you need to remove files generated by po4a, aren't > they already removed by 'debian/rules clean'? Good question. I added both that and the 'po4a --rm-translations' bit in the same commit, so it may just have been confusion on my part. Thanks for spotting that. The other thing that may help would be if I made sure to build anything that uses po4a out-of-tree, so that any translated files are only changed in the separate build directory which is then thrown away. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org