summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-25 10:27:24 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-25 10:27:24 +0300
commitbbadcbf8e5cf9dd501014c778bfa6d9b7b2cf976 (patch)
tree8b5b160007edfe02eda6279d8dd1f12e8feb35f6
parent96dbbef0ca750acb30dd3ebbb699007d807ec685 (diff)
downloadyuck-bbadcbf8e5cf9dd501014c778bfa6d9b7b2cf976.tar.gz
Add: Makefile
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bc28ba4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+srcs = $(wildcard *.md)
+pdfs = $(srcs:.md=.pdf)
+htmls = $(srcs:.md=.html)
+
+.SUFFIXES: .md .pdf .html
+
+.md.pdf:
+ sp-docgen $< -o $@
+
+.md.html:
+ sp-docgen $< -o $@
+
+all: $(pdfs) $(htmls)