build: Add doc-update-po as a prerequisite to the dist target.

Otherwise 'make dist' would fail with the message: "No rule to make target
'po/doc/guix-manual.pot', needed by 'distdir-am'.  Stop.".

* Makefile.am (dist) <doc-po-update>: Add prerequisite.
(dist-hook) <doc-po-update>: Remove prerequisite.
This commit is contained in:
Maxim Cournoyer 2021-04-18 12:23:32 -04:00
parent 18dc8c6f0f
commit b3f4df3f71
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 4 additions and 1 deletions

View File

@ -746,9 +746,12 @@ guix-binary.%.tar.xz:
cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"
# The dependency on doc-po-update is to generate the .pot files, which are not
# checked in.
dist: doc-po-update
dist-hook: gen-ChangeLog gen-AUTHORS gen-tarball-version
dist-hook: assert-no-store-file-names
dist-hook: doc-po-update
distcheck-hook: assert-binaries-available assert-final-inputs-self-contained