1/ The most annoying part was the error in po/. It turns out that reading
and understanding the po/Makevars file was the key. A simple change of
variable ensures that "make dist" does not try to rebuild lyx.pot.
2/ The way tests in src/ are defined meant that the
dependency-tracking files were not all deleted. This should be OK now.
(cherry picked from commit 9017581ecf)
* po/Makevar: handle messages that are to be translated into
the buffer's language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18124 a592a061-630c-0410-9148-cb99ea01b6c8