summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Pignolet <matthieu@puffer.fish>2025-05-11 19:56:23 +0400
committerMatthieu Pignolet <matthieu@puffer.fish>2025-05-11 19:56:23 +0400
commit7947d7517579d27c6084139219493c86902a4ebb (patch)
tree7d75f141e58a1a50e35ef1530704d1e72097b4b3
parentb56db32779a1b63e21fd610c97715f10acd3654a (diff)
chore: rename the `TMP` variable to `TEMP` to avoid ambiguity regarding naming.HEADmain
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1266971..c8978ef 100644
--- a/Makefile
+++ b/Makefile
@@ -10,12 +10,12 @@ $(NAMES): $(%:.pdf=.tex)
# Rule that builds the tex file in a temp directory and copies it
%.pdf: %.tex
- $(eval TMP := $(shell mktemp -d --suffix=$(TEMPSUFFIX)))
- @cp -r * $(TMP)/
- cd $(TMP)/; \
+ $(eval TEMP := $(shell mktemp -d --suffix=$(TEMPSUFFIX)))
+ @cp -r * $(TEMP)/
+ cd $(TEMP)/; \
$(TEX2PDF) $(TEXFLAGS) $<;
- @cp $(TMP)/$@ $@
- @$(RM) -r $(TMP)
+ @cp $(TEMP)/$@ $@
+ @$(RM) -r $(TEMP)
# Rule that cleans all previous content
clean: