4 PANDOC_OPTS
= -f markdown
--email-obfuscation
=none
--sanitize-html
5 pandoc
= $(PANDOC
) $(PANDOC_OPTS
)
6 pandoc_html
= $(pandoc
) --toc
-t html
--no-wrap
8 man1
:= $(addsuffix .1,rainbows
)
9 html1
:= $(addsuffix .html
,$(man1
))
18 install -m
644 $(html1
) ..
/doc
/man1
22 install -m
644 $(man1
) ..
/man
/man1
25 $(pandoc
) -s
-t man
< $< > $@
+ && mv
$@
+ $@
27 $(pandoc_html
) < $< > $@
+ && mv
$@
+ $@
30 $(RM
) $(man1
) $(html1
)