summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-11-05 13:44:15 +0100
committerJonas Smedegaard <dr@jones.dk>2007-11-05 13:44:15 +0100
commit15e9e3c3dcbf746bca3c61ad9b3ee664f31f3060 (patch)
treebcad126099eaf68acca8d2f9bd5d4e476eab580c /Makefile
parentf84ec8c42dbf3406bd4d16d13a66e8f145ca362e (diff)
Fix renaming dummies -> dummy_UNDERLAYS.
Diffstat (limited to 'Makefile')
-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)