From 0ddc1a31cb78d1bce3aa4884cb2c8a4ee7bcb16b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 6 Nov 2007 14:24:59 +0100 Subject: Fix overwriting origin file instead of creating a new one when init'ing translations in Makefile. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a365788..d8c5e35 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ $(podir)/$(3).$(2).po: $(1) $(3) # FIXME: needs to depend also on its masterfile $$(patsubst %,$(1)/%,$$($(3)_L10NFILES)): $(podir)/$(3).$(2).po mkdir -p $(1) - cd "$(1)" && po4a-translate -M UTF-8 -L UTF-8 -k 0 -f $(fileformat) $$(patsubst $(1)/%,-m $(CURDIR)/$(3)/%,$$@) -p $(CURDIR)/$(podir)/$(3).$(locale).po -l $$(patsubst $(1)/%,$(CURDIR)/$(5)/%,$$@) + cd "$(1)" && po4a-translate -M UTF-8 -L UTF-8 -k 0 -f $(fileformat) $$(patsubst $(1)/%,-m $(CURDIR)/$(3)/%,$$@) -p $(CURDIR)/$(podir)/$(3).$(locale).po -l $(CURDIR)/$$@ .PHONY: $(1) endef -- cgit v1.2.3