view doc/manual/Makefile.generic @ 16:29f6ef6b170e

- flagging freebsd as fully supported after testing arm64
author cslag
date Sat, 25 Jul 2015 22:45:14 +0200
parents 3e629dc19168
children 33c333ec5ad2
line wrap: on
line source

all: manual.pdf

sources: *.tex callconvs/*.tex dyncall_logo.* dyncall_watermark.*

manual.pdf: sources
	# run twice for toc on some tex installs
	cd ${VPATH} && pdflatex -output-directory=${PWD} manual.tex
	cd ${VPATH} && pdflatex -output-directory=${PWD} manual.tex

manual.html: manual_tex4ht.cfg sources
	# Create tex4ht.env from default one, but with better bitmaps
	cp $$(dirname $$(which tex4ht))/../share/texmf-dist/tex4ht/base/unix/tex4ht.env ${VPATH}/
	cd ${VPATH} && sed -E -i '' 's/(Text|Graphics)(AlphaBits)=[1,2,3]([^0-9])/\1\2=4\3/g' tex4ht.env
	cd ${VPATH} && htlatex manual.tex manual_tex4ht " -cunihtf"

clean:
	# pdf
	for i in pdf aux lof log lol lot out toc; do rm -f manual.$$i || true; done
	# html
	for i in 4ct 4tc css dvi html idv lg tmp xref; do rm -f manual.$$i || true; done
	for i in manual*x.png manual*.html texput.log manual_*.log zzmanual.eps zzmanual.ps tex4ht.env; do rm -f $$i || true; done