Mercurial > cgi-bin > hgweb.cgi > ImagePrep
view Makefile.docs @ 14:bed255e4c2dc
Fix file leak on save.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 19 Jul 2020 13:32:02 -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 $<