Just a simple shortcut to build the web page with m4.
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)))
$(INSTALL_DATA) micoforia.8 $(DESTDIR)$(mandir)
clean:
- $(RM) $(B)/*.o $(all)
+ $(RM) $(B)/*.o $(all) $(www)
distclean: clean
$(RM) -r $(B)
maintainer-clean:
@$(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