aboutsummaryrefslogtreecommitdiffstats
path: root/mk/i18n.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-08 20:46:53 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-08 20:46:53 +0100
commitd6dd4da48e4c15623582fe0b561d8095498df4db (patch)
tree4708cfc32af2914cd49ecf36ac962b07ea46b694 /mk/i18n.mk
parenta magical makefile, using a collection of submakefiles that are completely reusable without modifications (diff)
downloadscrotty-d6dd4da48e4c15623582fe0b561d8095498df4db.tar.gz
scrotty-d6dd4da48e4c15623582fe0b561d8095498df4db.tar.bz2
scrotty-d6dd4da48e4c15623582fe0b561d8095498df4db.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--mk/i18n.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/i18n.mk b/mk/i18n.mk
index 526bc1f..842377b 100644
--- a/mk/i18n.mk
+++ b/mk/i18n.mk
@@ -39,7 +39,8 @@ uninstall: uninstall-locale
ifdef WITHOUT_GETTEXT
.PHONY: locale
locale:
-else
+endif
+ifndef WITHOUT_GETTEXT
.PHONY: locale
locale: $(foreach L,$(LOCALES),bin/mo/$(L)/messages.mo)
endif
@@ -84,7 +85,8 @@ bin/mo/%/messages.mo: po/%.po
ifdef WITHOUT_GETTEXT
.PHONY: install-locale
install-locale:
-else
+endif
+ifndef WITHOUT_GETTEXT
.PHONY: install-locale
install-locale: $(foreach L,$(LOCALES),bin/mo/$(L)/messages.mo)
@$(PRINTF_INFO) '\e[00;01;31mINSTALL\e[34m %s\e[00m\n' "$@"