summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pseudo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/pseudo/Makefile')
-rw-r--r--macros/latex/contrib/pseudo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/latex/contrib/pseudo/Makefile b/macros/latex/contrib/pseudo/Makefile
index 0541b20e49..b8b64dcd5e 100644
--- a/macros/latex/contrib/pseudo/Makefile
+++ b/macros/latex/contrib/pseudo/Makefile
@@ -7,13 +7,13 @@ TESTS=build/pseudotest.pdf
all: $(TARGETS)
doc/pseudo.pdf: build/pseudo.pdf
- cp $< $@
+ mkdir -p $(@D) && cp $< $@
build/pseudo.pdf: doc/pseudo.tex build/pseudo.bib $(FIGS) $(TESTS) README.md pseudo.sty
$(LATEX) $<
build/pseudo.bib: doc/pseudo.bib
- cp $< $@
+ mkdir -p $(@D) && cp $< $@
build/hilitefig.pdf: doc/fig/hilitefig.tex pseudo.sty
$(LATEX) $<
@@ -44,7 +44,7 @@ pseudo.sty: VERSION LICENSE doc/pseudo.tex
-e "}" >> pseudo.sty
build/readmecode.tex: doc/fig/readmecode.tex
- cp $< $@
+ mkdir -p $(@D) && cp $< $@
build/readmefig.pdf: doc/fig/readmefig.tex build/readmecode.tex
$(LATEX) $<