From 8a9a6dfa7bc2965c216fc60c56b7056e2cf615f6 Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Thu, 10 Sep 2009 09:50:58 +0000
Subject: [PATCH] * Convert the rest of the already existing build system to
 Automake * Add new autoconf macros

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2914 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 Makefile.am | 14 ++++++++++++++
 Makefile.in | 14 --------------
 2 files changed, 14 insertions(+), 14 deletions(-)
 create mode 100644 Makefile.am
 delete mode 100644 Makefile.in

diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 00000000..4a2dc4da
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,14 @@
+if HAVE_PDFLATEX
+all-local: preprocessor.pdf
+endif
+
+SRC = preprocessor.tex expr.png expr-sharing.png matrices.png overview.png
+
+EXTRA_DIST = $(SRC)
+
+preprocessor.pdf: $(SRC)
+	$(PDFLATEX) preprocessor
+	$(PDFLATEX) preprocessor
+
+clean-local:
+	rm -f *.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 15e23adb..00000000
--- a/Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-PDFLATEX = @PDFLATEX@
-
-preprocessor.pdf: preprocessor.tex expr.png expr-sharing.png matrices.png overview.png
-ifdef PDFLATEX
-	$(PDFLATEX) preprocessor
-	$(PDFLATEX) preprocessor
-endif
-
-clean:
-	rm -f *.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~
-.PHONY: clean
-
-Makefile: Makefile.in ../../config.status
-	cd ../.. && ./config.status
-- 
GitLab