From cbf540c6966c129ebbe1d140e6c428d4df3ba1b1 Mon Sep 17 00:00:00 2001 From: buffet Date: Sat, 29 Sep 2018 16:19:17 +0200 Subject: [PATCH] Added html documentation to Makefile --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4d486be..d0ebd94 100644 --- a/Makefile +++ b/Makefile @@ -42,8 +42,18 @@ $(SYSRC): $(SYLIT) @echo " [LIT] $@..." $(HIDE) $(LIT) -t "$<" -doc: +doc: books +books: syrup.html wmaffle.html + +wmaffle.html: $(WFLIT) + @echo " [LIT] $@..." + $(HIDE) $(LIT) -w "$<" + +syrup.html: $(SYLIT) + @echo " [LIT] $@..." + $(HIDE) $(LIT) -w "$<" + install: install -d "$(DESTDIR)$(BINPREFIX)" install -m 755 "$(WFTARGET)" "$(DESTDIR)$(BINPREFIX)" @@ -62,5 +72,7 @@ clean: $(HIDE) $(RM) $(SRC) @echo " [RM] $(TARGETS)..." $(HIDE) $(RM) $(TARGETS) + @echo " [RM] wmaffle.html syrup.html..." + $(HIDE) $(RM) wmaffle.html syrup.html -include $(DEPS)