Why does potfiles.list go in $(srcdir)?

Kalle Olavi Niemitalo <[email protected]> Fri, 04 Jul 2008 23:48:06 +0300
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
I'm changing contrib/mkdist to include po/elinks.pot in the
ELinks release (not snapshot) tarballs, as recommended at
<http://translationproject.org/html/maintainers.html>.

Because mkdist checks the source out from the Git repository,
which does not contain po/elinks.pot, it must build this file
From the source.  When po/Makefile is asked to generate
elinks.pot, it also generates potfiles.list in the source
directory.  This file has not been included in earlier ELinks
tarballs, and I don't see any reason to include it now, so I'm
changing mkdist to remove potfiles.list from the source directory
before it runs tar.

Why does po/Makefile generate potfiles.list at all?  It seems to
me that po/Makefile could just run find and pipe the resulting
list to "xgettext -f-".  Does potfiles.list serve some purpose
in dependency decisions or does it exist for debugging only?
Could I move it from the source directory to the build directory,
so that mkdist wouldn't have to explicitly delete it?

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIboyTHm9IGt60eMgRAkpqAJ48Ab/LXhcVvwUW2kjOOibmsGigOwCg5WGJ
cYBiijlBceohe3bXQ7qT5tM=
=+qsp
-----END PGP SIGNATURE-----