From 2ae9aad13b8d453c446c2db39d76b3a7c189d02f Mon Sep 17 00:00:00 2001 From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Mon, 27 Apr 2009 13:37:50 +0000 Subject: [PATCH] trunk: added autoconf support for the documentation build system (only build stuff for which we have the tools: pdflatex, dblatex, xsltproc) git-svn-id: https://www.dynare.org/svn/dynare/trunk@2634 ac1d8469-bf42-47a9-8791-bf33cf982152 --- Makefile => Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename Makefile => Makefile.in (58%) diff --git a/Makefile b/Makefile.in similarity index 58% rename from Makefile rename to Makefile.in index 21ab8348..59d72ae7 100644 --- a/Makefile +++ b/Makefile.in @@ -1,6 +1,11 @@ +PDFLATEX = @PDFLATEX@ + preprocessor.pdf: preprocessor.tex expr.png expr-sharing.png matrices.png overview.png - pdflatex preprocessor - pdflatex preprocessor +ifdef PDFLATEX + $(PDFLATEX) preprocessor + $(PDFLATEX) preprocessor +endif clean: rm -f *.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~ +.PHONY: clean -- GitLab