From 268d540d582153c61f8e105236e59ce0daed6db7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 31 Jan 2019 10:48:36 +0100
Subject: [PATCH] Dynare++: add tl.tex to distributed tarball

By the way, simplify Makefile rules.
---
 dynare++/tl/Makefile.am | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/dynare++/tl/Makefile.am b/dynare++/tl/Makefile.am
index 4763294319..5ef7180cbe 100644
--- a/dynare++/tl/Makefile.am
+++ b/dynare++/tl/Makefile.am
@@ -1,16 +1,13 @@
 SUBDIRS = cc testing
 
-PDF_TARGETS =
+EXTRA_DIST = tl.tex
 
 if HAVE_PDFLATEX
-PDF_TARGETS += tl.pdf
-endif
-
-pdf-local: $(PDF_TARGETS)
+pdf-local: tl.pdf
 
 tl.pdf: tl.tex
 	$(PDFLATEX) tl
 	$(PDFLATEX) tl
+endif
 
-clean-local:
-	rm -f *~ *.pdf *.log *.aux *.out
+CLEANFILES = *.pdf *.log *.aux
-- 
GitLab