mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Correct a mistake in the guix-manual.pot rule.
This is a follow-up to commit 0d353b06ec
.
* po/doc/local.mk: Fix function name in comment.
(%D%/guix-manual.pot): Refer to *all* the prerequisites via the $^ special
variable rather than $<, which only refers to the first one.
Reported-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
9bf205e5a0
commit
0084f0054f
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ POT_OPTIONS = \
|
||||||
--copyright-holder "the authors of Guix (msgids)" \
|
--copyright-holder "the authors of Guix (msgids)" \
|
||||||
--msgid-bugs-address "bug-guix@gnu.org"
|
--msgid-bugs-address "bug-guix@gnu.org"
|
||||||
|
|
||||||
# make-download-po-files-rule PO_FILES POT_FILE_INPUT
|
# make-update-po-files-rule PO_FILES POT_FILE_INPUT
|
||||||
define make-update-po-files-rule
|
define make-update-po-files-rule
|
||||||
$(1): $(2)
|
$(1): $(2)
|
||||||
@if ! [ -f "$$@" ]; then \
|
@if ! [ -f "$$@" ]; then \
|
||||||
|
@ -67,7 +67,7 @@ endef
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
%D%/guix-manual.pot: %D%/guix.pot %D%/contributing.pot
|
%D%/guix-manual.pot: %D%/guix.pot %D%/contributing.pot
|
||||||
msgcat $< > $@
|
msgcat $^ > $@
|
||||||
|
|
||||||
$(eval $(call make-update-po-files-rule,$(DOC_PO_FILES),%D%/guix-manual.pot))
|
$(eval $(call make-update-po-files-rule,$(DOC_PO_FILES),%D%/guix-manual.pot))
|
||||||
$(eval $(call make-update-po-files-rule,\
|
$(eval $(call make-update-po-files-rule,\
|
||||||
|
|
Loading…
Reference in a new issue