summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-03-27 10:12:52 +0200
committerLars Wirzenius <liw@liw.fi>2020-03-27 10:12:52 +0200
commit3d17fc0de3abd5a8a4b26bc192bd15b9e912df75 (patch)
treee724db97728f633cd43d3e89be5dc1f40233c814 /Makefile
parent267b2efaa5bbd6f998cd4539e083106f7f5627ae (diff)
downloadick-contractor-3d17fc0de3abd5a8a4b26bc192bd15b9e912df75.tar.gz
Add: make HTML output as well
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dbbe96e..c3cc8e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,15 @@
srcs = $(wildcard *.md)
pdfs = $(srcs:.md=.pdf)
+htmls = $(srcs:.md=.html)
-.SUFFIXES: .md .pdf
+.SUFFIXES: .md .pdf .html
.md.pdf:
sp-docgen $< -o $@
-all: $(pdfs)
+.md.html:
+ sp-docgen $< -o $@
+
+all: $(pdfs) $(htmls)
-contractor.pdf: contractor.md contractor.py contractor.yaml
+contractor.pdf contractor.html: contractor.md contractor.py contractor.yaml