Mercurial > cgi-bin > hgweb.cgi > ImagePrep
view Makefile.docs @ 16:2bb46da74667
Detect unsupported file types on input.
author | David Barts <n5jrn@me.com> |
---|---|
date | Mon, 20 Jul 2020 12:56:07 -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 $<