~sircmpwn/hare-xml

407b4bc11f1767d7f35d5d9d16f8dea7ee811abf — Sebastian 3 months ago 566a55e
Makefile: add docs target

Signed-off-by: Sebastian <sebastian@sebsite.pw>
2 files changed, 7 insertions(+), 2 deletions(-)

A .gitignore
M Makefile
A .gitignore => .gitignore +1 -0
@@ 0,0 1,1 @@
docs/

M Makefile => Makefile +6 -2
@@ 17,7 17,11 @@ check:
	$(HARE) test

clean:
	@true # no-op
	rm -rf docs

docs:
	mkdir -p docs/format/xml
	$(HAREDOC) -Fhtml format::xml > docs/format/xml/index.html

install:
	mkdir -p "$(DESTDIR)$(THIRDPARTYDIR)"/format/xml


@@ 26,4 30,4 @@ install:
uninstall:
	rm -rf $(DESTDIR)$(THIRDPARTYDIR)/format/xml

.PHONY: all clean check install uninstall
.PHONY: all clean check docs install uninstall