From 49c7aa7e5b8c7c0da746b15f007fc9c6f2eb06ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemia=20=28Scylla=29?= Date: Thu, 29 Nov 2018 14:58:34 +0100 Subject: [PATCH] Fixed Makefile (list of rst files). --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0820cc0a6..4d76e4a3d 100644 --- a/Makefile +++ b/Makefile @@ -15,16 +15,18 @@ # You should have received a copy of the GNU General Public License # along with Dynare. If not, see . +SRC = $(wildcard src/source/*.rst) + all: html pdf html: src/build/html/index.html -src/build/html/index.html: $(src/source/%.rst) src/source/conf.py +src/build/html/index.html: $(SRC) src/source/conf.py source python/bin/activate ; make -C src html pdf: src/build/latex/dynare.pdf -src/build/latex/dynare.pdf: $(src/source/%.rst) src/source/conf.py +src/build/latex/dynare.pdf: $(SRC) src/source/conf.py source python/bin/activate ; make -C src latexpdf python: python/bin/python3