build: Build the guix.pot-update and contributing.pot-update targets only once.
* po/doc/local.mk (doc-pot-update): Fix an issue where guix.pot-update an contributing.pot-update were built twice.
This commit is contained in:
parent
868113126c
commit
eaf79d319d
@ -95,9 +95,8 @@ $(srcdir)/po/doc/%.pot-update: doc/%.texi
|
|||||||
TMP_POT_FILES = contributing.pot guix.pot
|
TMP_POT_FILES = contributing.pot guix.pot
|
||||||
|
|
||||||
doc-pot-update:
|
doc-pot-update:
|
||||||
for f in $(TMP_POT_FILES); do \
|
for f in $(TMP_POT_FILES); do \
|
||||||
$(MAKE) $(srcdir)/po/doc/guix.pot-update; \
|
$(MAKE) $(srcdir)/po/doc/$$f-update; \
|
||||||
$(MAKE) $(srcdir)/po/doc/contributing.pot-update; \
|
|
||||||
done
|
done
|
||||||
$(MAKE) $(srcdir)/po/doc/guix-cookbook.pot-update;
|
$(MAKE) $(srcdir)/po/doc/guix-cookbook.pot-update;
|
||||||
msgcat $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) > $(srcdir)/po/doc/guix-manual.pot
|
msgcat $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) > $(srcdir)/po/doc/guix-manual.pot
|
||||||
|
Loading…
Reference in New Issue
Block a user