From 2b652422b96504316b019b8c96562a83aa4c4d92 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 16 Oct 2013 15:57:05 +0200 Subject: [PATCH] Don't call make directly, it can have another name. --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 4ca6cac4b..dd3437952 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -36,7 +36,7 @@ if(SPHINX_FOUND) -D latex_logo=${LATEX_LOGO} ${CMAKE_CURRENT_SOURCE_DIR} ${SPHINX_PDF_DIR} ) - add_custom_target(doc-pdf make -C ${SPHINX_PDF_DIR} all-pdf + add_custom_target(doc-pdf $(MAKE) -C ${SPHINX_PDF_DIR} all-pdf DEPENDS doc-latex ) add_dependencies(doc doc-pdf) if (WITH_DOC)