]> git.tuebingen.mpg.de Git - lopsub.git/blobdiff - Makefile
build: Avoid "html" rule with empty recipe.
[lopsub.git] / Makefile
index 4fbc36b0d723b704ccbf1a1e4dd72fed2b201513..230a966b257de0eb761907426905ea97d30db64b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -100,16 +100,13 @@ lopsubex: $(lopsubex_objs) $(REALNAME)
 # web
 html := $(addprefix web/, $(addsuffix .html, \
        index lopsub-api lopsubgen.1 lopsubex.1 $(m4_man_pages:.gz=)))
-$(html): $(addprefix web/, $(addsuffix .html, header footer))
-
 www: $(html)
-
-web/lopsub-api.html: lopsub.h.m4
+web/lopsub-api.html: lopsub.h.m4 web/header.html web/footer.html
        $(M4) -DOUTPUT_MODE=HTML web/header.html $(gendoc) \
                $< web/footer.html > $@
 web/index.html: web/lopsub.7.html
        $(LN) -s $(notdir $<) $@
-web/%.html: %.gz
+web/%.html: %.gz web/header.html
        $(CP) web/header.html $@
        $(ZCAT) $< | $(GROFF) -m man -Thtml | sed -e '1,/^<body>/d' >> $@