This saves some typing as the simple "make www" now builds index.html
and the html version of the man page.
objs := $(addsuffix .o, $(c_generated) $(addprefix $(B)/, $(c_source)))
deps := $(objs:.o=.d)
all := $(PACKAGE) $(PACKAGE).1.gz
+www := $(B)/index.html $(B)/$(PACKAGE).1.html
all: $(all)
+www: $(www)
man: $(PACKAGE).1.gz
$(objs): $(B)/$(PACKAGE).lsg.h Makefile
-include $(deps)
$(call SAY, CC $<)
$(CC_CMD)
-.PHONY: all clean install README
+.PHONY: all www clean install README
.PRECIOUS: $(B)/%.lsg.c $(B)/%.lsg.h $(B)/%.suite $(B)/%.1
$(B)/$(PACKAGE).suite: $(PACKAGE).suite.m4 Makefile
$(call SAY, M4 $<)