diff --git a/doc/Makefile b/doc/Makefile index acdc09e..2271a40 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,9 +1,12 @@ PANDOC = pandoc MANSECTION = 1 -NAME=testssl +NAME = testssl +TITLE = testssl.sh all: $(NAME).$(MANSECTION) $(NAME).$(MANSECTION).html +force: clean all + clean: rm -f $(NAME).$(MANSECTION) $(NAME).$(MANSECTION).html @@ -11,4 +14,4 @@ $(NAME).$(MANSECTION): $(NAME).$(MANSECTION).md $(PANDOC) --standalone --to man $(NAME).$(MANSECTION).md -o $@ $(NAME).$(MANSECTION).html: template.html $(NAME).$(MANSECTION).md - $(PANDOC) --standalone --to html5 --template template.html $(NAME).$(MANSECTION).md -o $@ + $(PANDOC) --standalone --to html5 --template template.html --metadata title="$(TITLE)" $(NAME).$(MANSECTION).md -o $@