summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-11-06 14:24:59 +0100
committerJonas Smedegaard <dr@jones.dk>2007-11-06 14:24:59 +0100
commit0ddc1a31cb78d1bce3aa4884cb2c8a4ee7bcb16b (patch)
tree9ae2f057222fbeec77455af678e0c772ec0a302d
parentd877226cbe21a862d41ceb6420d0fb06e00200b5 (diff)
Fix overwriting origin file instead of creating a new one when init'ing translations in Makefile.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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