diff options
| author | Matthieu Pignolet <matthieu@puffer.fish> | 2025-05-11 19:56:23 +0400 |
|---|---|---|
| committer | Matthieu Pignolet <matthieu@puffer.fish> | 2025-05-11 19:56:23 +0400 |
| commit | 7947d7517579d27c6084139219493c86902a4ebb (patch) | |
| tree | 7d75f141e58a1a50e35ef1530704d1e72097b4b3 | |
| parent | b56db32779a1b63e21fd610c97715f10acd3654a (diff) | |
| -rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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: |
