diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-04-28 19:03:12 -0400 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-04-29 14:09:23 -0400 |
| commit | eaf79d319dd785b1d8b213ffa4dc6a3a338434e8 (patch) | |
| tree | 5533ad7919ade86cba6ab66610dc3e731d36ed92 /po | |
| parent | 868113126c89ecb7f928c49de893122fa0fe272c (diff) | |
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.
Diffstat (limited to 'po')
| -rw-r--r-- | po/doc/local.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/po/doc/local.mk b/po/doc/local.mk index a11c74e5363..90cb6a79bbe 100644 --- a/po/doc/local.mk +++ b/po/doc/local.mk | |||
| @@ -95,9 +95,8 @@ $(srcdir)/po/doc/%.pot-update: doc/%.texi | |||
| 95 | TMP_POT_FILES = contributing.pot guix.pot | 95 | TMP_POT_FILES = contributing.pot guix.pot |
| 96 | 96 | ||
| 97 | doc-pot-update: | 97 | doc-pot-update: |
| 98 | for f in $(TMP_POT_FILES); do \ | 98 | for f in $(TMP_POT_FILES); do \ |
| 99 | $(MAKE) $(srcdir)/po/doc/guix.pot-update; \ | 99 | $(MAKE) $(srcdir)/po/doc/$$f-update; \ |
| 100 | $(MAKE) $(srcdir)/po/doc/contributing.pot-update; \ | ||
| 101 | done | 100 | done |
| 102 | $(MAKE) $(srcdir)/po/doc/guix-cookbook.pot-update; | 101 | $(MAKE) $(srcdir)/po/doc/guix-cookbook.pot-update; |
| 103 | msgcat $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) > $(srcdir)/po/doc/guix-manual.pot | 102 | msgcat $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) > $(srcdir)/po/doc/guix-manual.pot |
