fix deps warnings

This commit is contained in:
Ben Harris 2019-10-01 12:39:29 -04:00
parent fc00bf78b3
commit 8c66e6d911
1 changed files with 11 additions and 12 deletions

View File

@ -13,23 +13,22 @@ XELATEX != command -v xelatex 2> /dev/null
# default target # default target
help: help:
@echo "Targets:" $(info all - build all formats)
@echo -e "\tall - build all formats" $(info pdf - generate all issues as pdf)
@echo -e "\tpdf - generate all issues as pdf" $(info html - generate all issues as html)
@echo -e "\thtml - generate all issues as html" $(info epub - generate all issues as epub)
@echo -e "\tepub - generate all issues as epub" $(info clean - remove build artifacts)
@echo -e "\tclean - remove build artifacts"
all: pdf html epub dep-pandoc all: dep-pandoc pdf html epub
pdf: $(DEST_PDF_FILES) dep-xelatex pdf: dep-xelatex $(DEST_PDF_FILES)
html: $(DEST_HTML_FILES) html: $(DEST_HTML_FILES)
epub: $(DEST_EPUB_FILES) epub: $(DEST_EPUB_FILES)
$(DEST_DIR)/issue-%.pdf: issues/% $(DEST_DIR)/issue-%.pdf: issues/%
@echo "building $@" $(info building $@)
@$(PANDOC) \ @$(PANDOC) \
--file-scope \ --file-scope \
--from markdown \ --from markdown \
@ -43,7 +42,7 @@ $(DEST_DIR)/issue-%.pdf: issues/%
$</*.md $</*.md
$(DEST_DIR)/issue-%.html: issues/% $(DEST_DIR)/issue-%.html: issues/%
@echo "building $@" $(info building $@)
@$(PANDOC) \ @$(PANDOC) \
--file-scope \ --file-scope \
--from markdown \ --from markdown \
@ -60,7 +59,7 @@ $(DEST_DIR)/issue-%.html: issues/%
$</*.md $</*.md
$(DEST_DIR)/issue-%.epub: issues/% $(DEST_DIR)/issue-%.epub: issues/%
@echo "building $@" $(info building $@)
@$(PANDOC) \ @$(PANDOC) \
--file-scope \ --file-scope \
--from markdown \ --from markdown \
@ -73,7 +72,7 @@ $(DEST_DIR)/issue-%.epub: issues/%
$</*.md $</*.md
clean: clean:
@echo "removing build artifacts" $(info removing build artifacts)
@rm $(DEST_DIR)/*.{pdf,html,epub} @rm $(DEST_DIR)/*.{pdf,html,epub}
dep-pandoc: dep-pandoc: