From efcdfaefbb6acf7c8a3955e485526b183f70c361 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 25 Jun 2012 18:27:01 +0200 Subject: [PATCH] Fix regression introduced in fix for #224. Closes #228. --- po/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/po/Makefile b/po/Makefile index f4d803d..c1a2498 100644 --- a/po/Makefile +++ b/po/Makefile @@ -1,9 +1,12 @@ # See LICENSE file for license and copyright information PROJECT = zathura +GETTEXT_PACKAGE = $(PROJECT) CATALOGS = $(wildcard *.po) LINGUAS ?= $(patsubst %.po, %, $(CATALOGS)) -MOS = $(patsubst %, %/LC_MESSAGES/${PROJECT}.mo, $(LINGUAS)) +ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null) +MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS))) + include ../config.mk include ../common.mk