Mercurial > cgi-bin > hgweb.cgi > ImagePrep
view Makefile.docs @ 17:d71523cde521 prestd
Should be private. Make it so.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 26 Jul 2020 15:17:27 -0700 |
parents | e0efe7848130 |
children | 404eb7e57fe6 |
line wrap: on
line source
.PHONY: clean all: Readme.rst Readme.pdf clean: -rm *.rst *.pdf *.ps *.nrf %.rst : %.html echo "[This file automatically generated by pandoc from '$<'.]" > $@ echo "" >> $@ pandoc --from=html --to=rst $< >> $@ %.nrf : %.html echo ".so custom.tmac" > $@ pandoc --from=html --to=ms $< | sed -e 's/^\.LP/.PP/' -e 's/^\.SH/.MYSH/' >> $@ %.ps: %.nrf custom.tmac groff -Tps -t -ms $< > $@ %.pdf : %.ps ps2pdf $<