diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..acdc09e --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,14 @@ +PANDOC = pandoc +MANSECTION = 1 +NAME=testssl + +all: $(NAME).$(MANSECTION) $(NAME).$(MANSECTION).html + +clean: + rm -f $(NAME).$(MANSECTION) $(NAME).$(MANSECTION).html + +$(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 $@ diff --git a/doc/template.html b/doc/template.html new file mode 100644 index 0000000..befacd5 --- /dev/null +++ b/doc/template.html @@ -0,0 +1,47 @@ + + +
+ +