From ea8e1043624c22c40c0d8ad79c1703b94ea64ca0 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 16 Jun 2012 14:19:12 +0200 Subject: [PATCH] Honor LINGUAS. --- po/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/po/Makefile b/po/Makefile index b3d5ef0..b328102 100644 --- a/po/Makefile +++ b/po/Makefile @@ -1,8 +1,9 @@ # See LICENSE file for license and copyright information PROJECT = zathura -CATALOGS = $(wildcard *.po) -MOS = $(patsubst %.po, %/LC_MESSAGES/${PROJECT}.mo, $(CATALOGS)) +CATALOGS = $(wildcard *.po) +LINGUAS ?= $(patsubst %.po, %, $(CATALOGS)) +MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(LINGUAS)) include ../config.mk include ../common.mk