Make sure MANPAGES_TRANSLATIONS is filled even if po4a is not available.

This commit is contained in:
Moritz Bunkus 2010-01-04 23:52:58 +01:00
parent a37ba19a90
commit 50e98bd647

View File

@ -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)