summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-02-18 23:55:58 +0100
committerJonas Smedegaard <dr@jones.dk>2008-02-18 23:55:58 +0100
commite4791c0b7bb56ef717a218074f67b8f3423f3eae (patch)
treee62a15db06caea94cfd30395d86996f4009adcf9 /Makefile
parentd4ebbb5aceb14f79b00bc24c2df91b87678299e9 (diff)
Fix creating po directory as needed when initializing po file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f9444b..2653ff8 100644
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,7 @@ $(4)_POMODULES := $(filter-out $(3),$$($(4)_POMODULES))
$(4)_POLOCALES := $(filter-out $(2),$$($(4)_POLOCALES))
$(podir)/$(3).$(2).po: $(3) $(5)
+ mkdir -p $(podir)
( cd "$(3)" && PERL5LIB="$(CURDIR)/perl" po4a-gettextize -M UTF-8 -L UTF-8 -f $$(fileformat) -o markdown $$(patsubst %,-m %,$$($(3)_L10NFILES)) $$(patsubst %,-l $$(CURDIR)/$(1)/%,$($(3)_L10NFILES)) ) \
| grep -v '#, fuzzy' \
> $$@