diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-11-04 18:37:13 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-11-04 18:37:13 +0100 |
commit | f4425f5d9a36bfc3a4ec81aee2d27f992d266e94 (patch) | |
tree | 28995df59876e9cb453debe63170e1fda2484598 /Makefile | |
parent | 814d907e2eaf50bcaa8927814fffa05f09913db9 (diff) |
Fix stripping templates from pot make targets.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ underlays = $(foreach source, $(sources), $(underlays_$(source))) $(underlays_l1 # FIXME: Handle translation of templates (needs po4a parser for HTML::Template markup) #potfiles = $(foreach source, $(sources), $(patsubst %,po/%.pot,$(underlays_$(source)))) -potfiles = $(filter-out templates,$(foreach source, $(sources), $(patsubst %,po/%.pot,$(underlays_$(source))))) +$(error potfiles = $(foreach source, $(sources), $(patsubst %,po/%.pot,$(filter-out templates,$(underlays_$(source)))))) pofiles = $(foreach locale, $(locales_$(source)), $(patsubst %.pot/%.$(locale).po,$(locale))) source_of_underlay = $(firstword $(foreach source, $(sources), $(if $(filter $(underlay),$(underlays_$(source))),$(source)))) |