Keeping POTFILES.in sync'd

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Thu Feb 24 17:51:58 CET 2005


Benedikt Meurer wrote:
>> I wrote a *rough* *uncivilized* shell script which creates POTFILES.in
>> file. Personally, I'd include this script into xfce4-dev-tools, and
>> invoke with certain m4 macro or include it macro itself so that this
>> list file will be generated automatically in autogen.sh process, of
>> course it needs to be modified.
>>
>> There must be clever way, I'll welcome your (shell/perl script, m4
>> macro, autotools magician) opinion.
> 
> 
> Its up to the maintainer to adjust POTFILES.in, when he includes another 
> file. Automating this using a script looks like awaiting breakage, 
> atleast for me, as I normally have uncommitted, test .c files and such 
> in my local sandboxes, and so it would break other peoples builds if I'd 
> create a tarball with a POTFILES.in, that was generated on my system 
> (ok, one could argue that creating tarballs should happen from a clean 
> sandbox...).

And there's the problem of autogenerated files, that may be caught by 
the script, so you'd need a super-clean sandbox.

Benedikt



More information about the Xfce4-dev mailing list