Actually create outdir before copying resources

This commit is contained in:
Sam Whited 2017-01-05 13:33:54 -06:00
parent d018c1571d
commit 2d779e6be7
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ $(OUTDIR)/%.html: %.xml $(XMLDEPS) dependencies
# Actually build the HTML
xsltproc --path $(CURDIR) xep.xsl "$<" > "$@" && echo "Finished building $@"
$(OUTDIR)/xmpp.pdf $(OUTDIR)/xmpp-text.pdf:
$(OUTDIR)/xmpp.pdf $(OUTDIR)/xmpp-text.pdf: $(OUTDIR)
cp "resources/$(notdir $@)" "$@"
$(OUTDIR)/%.pdf: %.xml $(TEXMLDEPS) $(XMLDEPS) dependencies