summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index daa7aca..d70399b 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ fileformat = $(if $(filter templates,$(underlay)),htmltemplate,text)
filetype = $(if $(filter templates,$(underlay)),tmpl,mdwn)
l10nfiles_in_underlay = $(shell cd "$(masterdir)" && find * -type f -name '*.$(filetype)')
-all: $(underlays) $(dummies)
+all: $(underlays) $(dummy_UNDERLAYS)
$(underlays): locale=$(if $(filter l10n/,$(lastword $(subst _, ,$(dir $@)))),$(notdir $@))
$(underlays): underlay=$(@:%_l10n/$(locale)=%)
@@ -78,7 +78,7 @@ else
cd "$(l10ndir)" && po4a-translate -M UTF-8 -L UTF-8 -k 100 -f $(fileformat) -m $(CURDIR)/$(patsubst $(l10ndir)/%,$(masterdir)/%,$@) -p $(CURDIR)/po/$(underlay).$(locale).po -l $(CURDIR)/$@
endif
-$(dummies):
+$(dummy_UNDERLAYS):
mkdir -p $@
install:
@@ -89,7 +89,7 @@ install:
ultraclean:
rm -rf $(underlays)
rm -rf $(dir $(underlays_l10n))
- rm -rf $(dummies)
+ rm -rf $(dummy_UNDERLAYS)
.PHONY: pot po translations $(underlays)