summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/po4a.mk2
-rw-r--r--make/rules.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/make/po4a.mk b/make/po4a.mk
index df5d051..96c2013 100644
--- a/make/po4a.mk
+++ b/make/po4a.mk
@@ -28,4 +28,4 @@ updatepo:
$(l10nfiles):
po4a-translate -M UTF-8 -L UTF-8 -k "$(threshold)" -f "$(fileformat)" -o markdown $(patsubst %,-m $(masterdir)/%,$@) -p "$(pofile)" -l "$@"
-.PHONY: mkpot mkpo
+.PHONY: mkpot mkpo $(l10nfiles)
diff --git a/make/rules.mk b/make/rules.mk
index 91aff14..f0fa3f3 100644
--- a/make/rules.mk
+++ b/make/rules.mk
@@ -95,7 +95,7 @@ $(podir)/$(3).$(2).po: $(3)
$$(patsubst %,$(1)/%,$$($(3)_L10NFILES)): $(podir)/$(3).$(2).po
mkdir -p $(1)
- $(MAKE) -f "$$(CURDIR)/make/po4a.mk" -C "$(1)" fileformat="$$(fileformat)" l10nfiles="$$($(3)_L10NFILES)" masterdir="$$(CURDIR)/$(3)" pofile="$(CURDIR)/$(podir)/$(3).$(locale).po" "$(CURDIR)/$$@"
+ $(MAKE) -f "$$(CURDIR)/make/po4a.mk" -C "$(1)" fileformat="$$(fileformat)" l10nfiles="$$($(3)_L10NFILES)" masterdir="$$(CURDIR)/$(3)" pofile="$(CURDIR)/$(podir)/$(3).$(locale).po" "$$(patsubst $(1)/%,%,$$@)"
endef
# Only update if not initializing - can't do both at once
ifeq ($(po-init-modules),)