diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-05-31 18:38:27 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-05-31 18:38:27 +0200 |
commit | bf273db496d1aeb080e517942dc5d0e078119ede (patch) | |
tree | 11433014cb34a10cdcab5b8a82f73ef8541e7576 | |
parent | a99f6675fcd4bdf2c4e62ea1f6edb91388523b32 (diff) |
Shift l10nfiles dependencies from rules.mk to po4a.mk.
-rw-r--r-- | make/po4a.mk | 2 | ||||
-rw-r--r-- | make/rules.mk | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/make/po4a.mk b/make/po4a.mk index 96c2013..9a09320 100644 --- a/make/po4a.mk +++ b/make/po4a.mk @@ -25,7 +25,7 @@ updatepo: # Invoke from root dir of translated files # masterdir: path to dir containing untranslated files # pofile: path to PO file -$(l10nfiles): +$(l10nfiles): % : $(masterdir)/% po4a-translate -M UTF-8 -L UTF-8 -k "$(threshold)" -f "$(fileformat)" -o markdown $(patsubst %,-m $(masterdir)/%,$@) -p "$(pofile)" -l "$@" .PHONY: mkpot mkpo $(l10nfiles) diff --git a/make/rules.mk b/make/rules.mk index f0fa3f3..b267b96 100644 --- a/make/rules.mk +++ b/make/rules.mk @@ -74,7 +74,6 @@ $(podir)/$(3).$(2).po: $(3) $(5) # TODO: Implement the below for automated tests, after unfuzzing the above like this: # grep -v '^#, fuzzy$' | sed 's/^#, fuzzy,/#,/' # -# FIXME: needs to depend also on its masterfile #$$(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" threshold=0 "$(CURDIR)/$$@" |