mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:43:45 +01:00
Support empty LINGUAS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
a16819fdf0
commit
30fd662794
@ -4,10 +4,13 @@ PROJECT = zathura
|
|||||||
GETTEXT_PACKAGE = $(PROJECT)
|
GETTEXT_PACKAGE = $(PROJECT)
|
||||||
CATALOGS = $(wildcard *.po)
|
CATALOGS = $(wildcard *.po)
|
||||||
LINGUAS ?= $(patsubst %.po, %, $(CATALOGS))
|
LINGUAS ?= $(patsubst %.po, %, $(CATALOGS))
|
||||||
|
ifeq ($(LINGUAS),)
|
||||||
|
ALINGUAS =
|
||||||
|
else
|
||||||
ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null)
|
ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null)
|
||||||
|
endif
|
||||||
MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS)))
|
MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS)))
|
||||||
|
|
||||||
|
|
||||||
include ../config.mk
|
include ../config.mk
|
||||||
include ../common.mk
|
include ../common.mk
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user