From 45f80a9dc8b39fd41ef9179dc6e155eabf0c8ce9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 31 May 2008 16:16:32 +0200 Subject: Fix build target translations (bogus fullpath, mark target files phony). --- make/po4a.mk | 2 +- make/rules.mk | 2 +- 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),) -- cgit v1.2.3