mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-07-18 19:51:45 +02:00
.github
bin
doc
Makefile
template.html
testssl.1
testssl.1.html
testssl.1.md
etc
t
utils
.dockerignore
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
CONTRIBUTING.md
CREDITS.md
Coding_Convention.md
Dockerfile
Dockerfile.git
Dockerfile.md
LICENSE
Readme.md
openssl-iana.mapping.html
testssl.sh
18 lines
502 B
Makefile
18 lines
502 B
Makefile
PANDOC = pandoc
|
|
MANSECTION = 1
|
|
NAME = testssl
|
|
TITLE = testssl.sh
|
|
|
|
all: $(NAME).$(MANSECTION) $(NAME).$(MANSECTION).html
|
|
|
|
force: clean all
|
|
|
|
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 --metadata title="$(TITLE)" $(NAME).$(MANSECTION).md -o $@
|