From 50e98bd647ea8ebfa3cf303b9d10dabca985bfbf Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 4 Jan 2010 23:52:58 +0100 Subject: [PATCH] Make sure MANPAGES_TRANSLATIONS is filled even if po4a is not available. --- Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index c9f1bfd56..052b9e0ca 100644 --- a/Makefile.in +++ b/Makefile.in @@ -172,11 +172,9 @@ TRANSLATIONS = @TRANSLATIONS@ TRANSLATIONS_POS = @TRANSLATIONS_POS@ TRANSLATIONS_MOS = $(patsubst %.po,%.mo,$(TRANSLATIONS_POS)) -ifeq (yes,$(PO4A_WORKS)) MANPAGES_TRANSLATIONS = @MANPAGES_TRANSLATIONS@ MANPAGES_TRANSLATIONS_POS = @MANPAGES_TRANSLATIONS_POS@ MANPAGES_TRANSLATED = @MANPAGES_TRANSLATED@ -endif HTMLHELPBOOKS = mkvmerge-gui-book @@ -234,7 +232,10 @@ endif # Only rebuild the man pages if both xsltproc and the DocBook # stylesheet have been found by configure. ifeq ($(XSLTPROC_WORKS),yes) - MANPAGES_DEP = $(MANPAGES) $(MANPAGES_TRANSLATED) + MANPAGES_DEP = $(MANPAGES) +ifeq (yes,$(PO4A_WORKS)) + MANPAGES_DEP = $(MANPAGES_DEP) $(MANPAGES_TRANSLATED) +endif endif all: $(MANPAGES_DEP) $(TAGSFILE) $(APPLICATIONS) $(TRANSLATIONS_MOS) $(HTMLHELPBOOKS)