mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14:06:00 +01:00
Support empty LINGUAS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
a16819fdf0
commit
30fd662794
1 changed files with 5 additions and 2 deletions
|
@ -4,10 +4,13 @@ PROJECT = zathura
|
|||
GETTEXT_PACKAGE = $(PROJECT)
|
||||
CATALOGS = $(wildcard *.po)
|
||||
LINGUAS ?= $(patsubst %.po, %, $(CATALOGS))
|
||||
ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null)
|
||||
ifeq ($(LINGUAS),)
|
||||
ALINGUAS =
|
||||
else
|
||||
ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null)
|
||||
endif
|
||||
MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS)))
|
||||
|
||||
|
||||
include ../config.mk
|
||||
include ../common.mk
|
||||
|
||||
|
|
Loading…
Reference in a new issue