aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c6cdb28..762ebfa 100644
--- a/Makefile
+++ b/Makefile
@@ -9,4 +9,11 @@ demo:
run:
hare run $(LIBS) cmd/demo
-.PHONY: demo run
+docs:
+ mkdir -p docs/sdl2/image
+ haredoc -Fhtml sdl2 > docs/sdl2/index.html
+ haredoc -Fhtml sdl2::image > docs/sdl2/image/index.html
+ mkdir -p docs/sdl2/mixer
+ haredoc -Fhtml sdl2::mixer > docs/sdl2/mixer/index.html
+
+.PHONY: demo docs run