diff options
| -rw-r--r-- | latex/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/latex/Makefile b/latex/Makefile index c93324b1..484aee02 100644 --- a/latex/Makefile +++ b/latex/Makefile @@ -78,20 +78,20 @@ define generateSetTexRules $(SETS_TEX_DIR)/$(1).tex: $(wildcard $(CARDS_TEX_DIR)/$(1)/*.tex) $(MAKEFILE_LIST) @echo "generating $(1) tex" @if test \( ! \( -d $$(@D) \) \) ;then mkdir -p $$(@D);fi - $(VERBOSE) echo "\documentclass[a4paper,landscape]{article}" > $$@ - $(VERBOSE) echo "\usepackage[margin=6mm,top=5mm]{geometry}" >> $$@ - $(VERBOSE) echo "\input{libs.tex}" >> $$@ - $(VERBOSE) echo "\input{colors.tex}" >> $$@ - $(VERBOSE) echo "\input{tikzcards.tex}" >> $$@ - $(VERBOSE) echo "\usepackage{standalone}" >> $$@ - $(VERBOSE) echo "\begin{document}" >> $$@ - $(VERBOSE) echo "\begin{center}" >> $$@ - $(VERBOSE) echo "\pagestyle{empty}" >> $$@ + $(VERBOSE) echo '\documentclass[a4paper,landscape]{article}' > $$@ + $(VERBOSE) echo '\usepackage[margin=6mm,top=5mm]{geometry}' >> $$@ + $(VERBOSE) echo '\input{libs.tex}' >> $$@ + $(VERBOSE) echo '\input{colors.tex}' >> $$@ + $(VERBOSE) echo '\input{tikzcards.tex}' >> $$@ + $(VERBOSE) echo '\usepackage{standalone}' >> $$@ + $(VERBOSE) echo '\\begin{document}' >> $$@ + $(VERBOSE) echo '\\begin{center}' >> $$@ + $(VERBOSE) echo '\pagestyle{empty}' >> $$@ $(VERBOSE)for card in $(wildcard $(CARDS_TEX_DIR)/$(1)/*.tex); do \ rel_card=$$$${card#"$(LATEX_ROOT)/"}; \ echo "\includestandalone{$$$${rel_card%.tex}}" >> $$@; done - $(VERBOSE) echo "\end{center}" >> $$@ - $(VERBOSE) echo "\end{document}" >> $$@ + $(VERBOSE) echo '\end{center}' >> $$@ + $(VERBOSE) echo '\end{document}' >> $$@ endef # Generate set tex rules |
