summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-01-16 10:08:35 -0500
committerLouie S <louie@example.com>2024-01-16 10:08:35 -0500
commit1070d16a7c3027e7c05992a8f3ab01b11e2236cb (patch)
treed0c7d78311f35b3de19753d051779c15bc24cbd3 /Makefile
Added page about dash docsets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c12b344
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+BASENAMES=$(basename $(wildcard *.md))
+SOURCES=$(foreach source,$(BASENAMES),$(source).md)
+TARGETS=$(foreach target,$(BASENAMES),$(target).html)
+
+.PHONY: all
+all: $(TARGETS)
+
+%.html: %.md
+ marked -o $@ $<
+
+.PHONY: clean
+clean:
+ rm -f $(TARGETS)