From 69f44c6b091d4e8f43e3038ba9468b1213f50099 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 (56%)

diff --git a/Makefile b/Makefile.in
similarity index 56%
rename from Makefile
rename to Makefile.in
index 52691774..06e32859 100644
--- a/Makefile
+++ b/Makefile.in
@@ -1,6 +1,11 @@
+PDFLATEX = @PDFLATEX@
+
 macroprocessor.pdf: macroprocessor.tex old-design.pdf new-design.pdf
-	pdflatex macroprocessor
-	pdflatex macroprocessor
+ifdef PDFLATEX
+	$(PDFLATEX) macroprocessor
+	$(PDFLATEX) macroprocessor
+endif
 
 clean:
 	rm -f macroprocessor.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~
+.PHONY: clean
-- 
GitLab