mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
15 lines
465 B
Makefile
15 lines
465 B
Makefile
|
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 $(PANDOCFLAGS) --to man $(NAME).$(MANSECTION).md -o $@
|
||
|
|
||
|
$(NAME).$(MANSECTION).html: template.html $(NAME).$(MANSECTION).md
|
||
|
$(PANDOC) --standalone $(PANDOCFLAGS) --to html5 --template template.html $(NAME).$(MANSECTION).md -o $@
|