summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-05-31 16:16:32 +0200
committerJonas Smedegaard <dr@jones.dk>2008-05-31 16:18:01 +0200
commit45f80a9dc8b39fd41ef9179dc6e155eabf0c8ce9 (patch)
tree80e042a04dc5d1c9fb451625978abbb729ddd7ac
parent805fc78a006ed14fb0830d4e752dbabc6cff4382 (diff)
Fix build target translations (bogus fullpath, mark target files phony).
-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),)