aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-04-04 09:49:22 -0300
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:14 +0200
commitbc7bc188007be1f0bdf8a6f9de9a8bd8303c57c0 (patch)
tree2964bc8ece6e8f00f94aa7f1a447220e0541c498
parentf21c865318b36ee78e6b4c16aacf4e818989f38f (diff)
downloadmuhqs-game-bc7bc188007be1f0bdf8a6f9de9a8bd8303c57c0.tar.gz
muhqs-game-bc7bc188007be1f0bdf8a6f9de9a8bd8303c57c0.zip
use bash and fix erroneous expansion of escape sequences
-rw-r--r--latex/Makefile22
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