GNOME Bugzilla – Bug 436241
POTFILES.skip should allow skipping directories
Last modified: 2008-06-06 08:46:24 UTC
In the gimp module we have multiple text domains and maintain multiple po directories. In each of these, 'intltool-update -m' detects a long list of files that are missing from POTFILES.in. We would like to fix this but maintaining the POTFILES.skip files would be quite a pain. It would make our lifes a lot easier if POTFILES.skip could contain directory names and intltool-update would then skip the listed directory entirely. That way we could easily exclude plug-ins from the core translation domain and vice versa. I am filing this as a bug report instead of an enhancement request because with the Makefile.in.in installed by recent versions of intltool, 'intltool-update -m' is run in a distcheck hook. This means that I can't run 'make distcheck' until we fix all POTFILES.skip files. Please either remove this hook or make it easier for us to maintain POTFILES.skip.
The gnome-games module is also annoyed by this bug.
No matter whether this problem should be fixed in this way or by any other mean, allowing directory to be skipped could be a good thing to add for intltool.
Fixed in SVN trunk. You can now ignore directories by simply placing the directory name in POTFILES.skip. For exmaple to ignore the libgimp/ sub-directory, you can simply just place "libgimp" in po/POTFILES.skip.
Thanks a lot. Desperately waiting for the next intltool release...
We are now using this feature in gimp trunk. Seems to work nicely with intltool 0.40.0. Thanks again for this change. It makes maintaining the POTFILES.skip files a lot easier.