From: Andre Noll Date: Sun, 19 May 2024 19:23:35 +0000 (+0200) Subject: build: Add target www. X-Git-Tag: v1.0.0^0 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;p=micoforia.git build: Add target www. Just a simple shortcut to build the web page with m4. --- diff --git a/Makefile b/Makefile index 403fbcc..4daaec7 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,8 @@ CHMOD := chmod B := build all := micoforia micoforia.8 all: $(all) +www := $(B)/index.html +www: $(www) units := micoforia util version micoforia.lsg deps := $(addprefix $(B)/, $(addsuffix .d, $(units))) @@ -147,7 +149,7 @@ install install-strip: all $(INSTALL_DATA) micoforia.8 $(DESTDIR)$(mandir) clean: - $(RM) $(B)/*.o $(all) + $(RM) $(B)/*.o $(all) $(www) distclean: clean $(RM) -r $(B) maintainer-clean: @@ -157,5 +159,5 @@ README: README.m4 Makefile $(B)/config.mak @$(M4) $< .PRECIOUS: $(B)/%.lsg.c $(B)/%.lsg.h $(B)/%.8 -.PHONY: all clean install distclean maintainer-clean README +.PHONY: all www clean install distclean maintainer-clean README -include Makefile.local