build: 'guix-manual.*.po' no longer depends on 'guix-manual.pot'.
authorLudovic Courtès <ludo@gnu.org>
Tue, 30 Apr 2019 15:32:52 +0000 (17:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 30 Apr 2019 16:11:15 +0000 (18:11 +0200)
commit81824af6a4b30368ed497686976c26f742bc6c8a
treec02f57c2c07143f34ef478674e45f003c090dfac
parente4b2866cd015a52973063c0b389cf328ef0b9d18
build: 'guix-manual.*.po' no longer depends on 'guix-manual.pot'.

That dependency was causing a failure when building from a fresh
checkout since commit d60225d5caabfb6409e3277c0512cd4c0fa63d72 because
'guix-manual.pot' was no longer around and there's no rule to make it.

This commit replaces the 'guix-manual.%.po' target by a phony target,
'doc-po-update-%', without any dependency.

* po/doc/local.mk ($(srcdir)/po/doc/guix-manual.%.po): Rename to...
(doc-po-update-%): ... this.  Remove dependencies.
Change how 'lang' is computed; compute $output and $input, and replace
occurrences of $@ and $< with those.
(doc-po-update): Adjust accordingly.
po/doc/local.mk