Mercurial > cgi-bin > hgweb.cgi > JpegWasher
view Makefile.docs @ 56:224572069e36
Always define an editor kit, so we always get HTML mode.
author | davidb |
---|---|
date | Thu, 07 May 2020 17:12:25 -0700 |
parents | 35fb8de77c7d |
children |
line wrap: on
line source
.PHONY: clean all: Readme.rst Readme.pdf Building.rst Building.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 $<