summaryrefslogtreecommitdiff
blob: a0db5d45c597a7d333d88762b3e899baca56d809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/Doc/Makefile.am
+++ b/Doc/Makefile.am
@@ -1,15 +1,14 @@
 
 KLU_UserGuide.pdf:
-	echo '\begin{verbatim}' > klu_h.tex
+	printf '\\begin{verbatim}\n' > klu_h.tex
 	expand -8 $(top_srcdir)/Include/klu.h >> klu_h.tex
-	echo '\end{verbatim}' >> klu_h.tex
-	echo '\begin{verbatim}' > btf_h.tex
-	echo 'See your btf.h local install' >> btf_h.tex
-	echo '\end{verbatim}' >> btf_h.tex
-	echo '\begin{verbatim}' > klu_simple_c.tex
+	printf '\\end{verbatim}\n' >> klu_h.tex
+	printf '\\begin{verbatim}\n' > btf_h.tex
+	printf 'See your btf.h local install\n' >> btf_h.tex
+	printf '\\end{verbatim}\n' >> btf_h.tex
+	printf '\\begin{verbatim}\n' > klu_simple_c.tex
 	expand -8 $(top_srcdir)/Demo/klu_simple.c >> klu_simple_c.tex
-	echo '\end{verbatim}' >> klu_simple_c.tex
-	-ln -s $(srcdir)/*.{tex,bib} .
+	printf '\\end{verbatim}\n' >> klu_simple_c.tex
 	$(PDFLATEX) KLU_UserGuide
 	$(BIBTEX)  KLU_UserGuide
 	$(PDFLATEX) KLU_UserGuide