Skip to content

Commit

Permalink
Merge pull request #169 from kiwifb/do_not_use_echo
Browse files Browse the repository at this point in the history
make the amd,camd and klu doc makefiles portable between bash and dash
  • Loading branch information
DrTimothyAldenDavis authored Nov 8, 2022
2 parents 7838c08 + e347635 commit c528959
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions AMD/Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ default: AMD_UserGuide.pdf

AMD_UserGuide.pdf: AMD_UserGuide.tex AMD_UserGuide.bib ../Include/amd.h \
amd_version.tex
echo '\\begin{verbatim}' > amd_h.tex
printf '\\begin{verbatim}\n' > amd_h.tex
expand -8 ../Include/amd.h >> amd_h.tex
echo '\\end{verbatim}' >> amd_h.tex
printf '\\end{verbatim}\n' >> amd_h.tex
pdflatex AMD_UserGuide
bibtex AMD_UserGuide
pdflatex AMD_UserGuide
Expand Down
4 changes: 2 additions & 2 deletions CAMD/Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ default: CAMD_UserGuide.pdf

CAMD_UserGuide.pdf: CAMD_UserGuide.tex CAMD_UserGuide.bib ../Include/camd.h \
camd_version.tex
echo '\\begin{verbatim}' > camd_h.tex
printf '\\begin{verbatim}\n' > camd_h.tex
expand -8 ../Include/camd.h >> camd_h.tex
echo '\\end{verbatim}' >> camd_h.tex
printf '\\end{verbatim}\n' >> camd_h.tex
pdflatex CAMD_UserGuide
bibtex CAMD_UserGuide
pdflatex CAMD_UserGuide
Expand Down
12 changes: 6 additions & 6 deletions KLU/Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ dist: KLU_UserGuide.pdf

KLU_UserGuide.pdf: KLU_UserGuide.tex KLU_UserGuide.bib \
../Include/klu.h ../../BTF/Include/btf.h Makefile klu_version.tex
echo '\\begin{verbatim}' > klu_h.tex
printf '\\begin{verbatim}\n' > klu_h.tex
expand -8 ../Include/klu.h >> klu_h.tex
echo '\\end{verbatim}' >> klu_h.tex
echo '\\begin{verbatim}' > btf_h.tex
printf '\\end{verbatim}\n' >> klu_h.tex
printf '\\begin{verbatim}\n' > btf_h.tex
expand -8 ../../BTF/Include/btf.h >> btf_h.tex
echo '\\end{verbatim}' >> btf_h.tex
echo '\\begin{verbatim}' > klu_simple_c.tex
printf '\\end{verbatim}\n' >> btf_h.tex
printf '\\begin{verbatim}\n' > klu_simple_c.tex
expand -8 ../Demo/klu_simple.c >> klu_simple_c.tex
echo '\\end{verbatim}' >> klu_simple_c.tex
printf '\\end{verbatim}\n' >> klu_simple_c.tex
pdflatex KLU_UserGuide
bibtex KLU_UserGuide
pdflatex KLU_UserGuide
Expand Down

0 comments on commit c528959

Please sign in to comment.