summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-11-04 18:37:13 +0100
committerJonas Smedegaard <dr@jones.dk>2007-11-04 18:37:13 +0100
commitf4425f5d9a36bfc3a4ec81aee2d27f992d266e94 (patch)
tree28995df59876e9cb453debe63170e1fda2484598
parent814d907e2eaf50bcaa8927814fffa05f09913db9 (diff)
Fix stripping templates from pot make targets.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4c574a..76df242 100644
--- a/Makefile
+++ b/Makefile
@@ -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))))