[PATCH 0 of 2] Fix read-only issues (ticket #2355)
the following two patches aim to make mutt builds/tarball builds working
with a read-only source. The only problems were comming from below po/
where the Makefile attempts to create mutt.pot in the source dir because
all files in POTFILES are under srcdir as well, including
keymap_alldefs.h which is generated and thus should be in builddir.
My approach is to list only files from srcdir in POTFILES, build
keymap_alldefs.h in builddir and call xgettext --join ... to append
output from non-srcdir to mutt.po which is then renamed to mutt.pot. In
the end, there's no need to have mutt.pot inside the srcdir.
I tested these via scripts and it looks okay to me, but I need more
opinions. In general I think #2355 makes a valid point and should be