From dd947fb35f07d91fa182fa1b7f22749d6a08a1e2 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..9dbf04a6
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,14 @@
+if HAVE_PDFLATEX
+all-local: macroprocessor.pdf
+endif
+
+SRC = macroprocessor.tex old-design.pdf new-design.pdf
+
+EXTRA_DIST = $(SRC)
+
+macroprocessor.pdf: $(SRC)
+	$(PDFLATEX) macroprocessor
+	$(PDFLATEX) macroprocessor
+
+clean-local:
+	rm -f macroprocessor.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 4001342b..00000000
--- a/Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-PDFLATEX = @PDFLATEX@
-
-macroprocessor.pdf: macroprocessor.tex old-design.pdf new-design.pdf
-ifdef PDFLATEX
-	$(PDFLATEX) macroprocessor
-	$(PDFLATEX) macroprocessor
-endif
-
-clean:
-	rm -f macroprocessor.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~
-.PHONY: clean
-
-Makefile: Makefile.in ../../config.status
-	cd ../.. && ./config.status
-- 
GitLab