#
# $Id: Makefile 7194 2013-12-28 08:41:45Z owes $
#

# Note:
# Do not use LANG or LANGUAGE for manual language, as that will override the locale setting
#
# 'Make' the documentation for one language only: make LANGUAGES=en
# 'Make' only the installation manuals: make MANUALS=install
# 'Make' the English installation manual only: make LANGUAGES=en MANUALS=install

# Can we do this more clever? Without changing the Makefile on version upgrades?
IPCOP_VERSION = 2.0.0

# Build all languages if LANGUAGES not specified
LANGUAGES = en de es
export

PDFDIR=$(shell pwd)/pdf

.PHONY : languages $(LANGUAGES) all clean
all : languages

clean :
	for i in $(LANGUAGES); do $(MAKE) LANGUAGE=$$i -C $$i clean; done

languages : $(LANGUAGES)

$(LANGUAGES):
	$(MAKE) MAN_LANG=$@ -C $@
