Commit 275ff70b authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Cleanup doc Makefile

parent 1f037fb4
PDFIMAGES = $(shell ls *.pdf)
PNGIMAGES = ${PDFIMAGES:.pdf=.png}
HUGEIMAGES = $(shell find . -maxdepth 1 -name "*.pdf" -size +10000k)
ORIGIMAGES = ${HUGEIMAGES:.pdf=.pdf-orig}
#PNGCONV = gm convert -density 1200 -resample 50 -trim -antialias -quality 9 -filter Cubic
PNGCONV = pdftoppm -png -singlefile -r 96 -freetype yes -aa yes -aaVector yes
PDFCONV = gm convert
#all: $(ORIGIMAGES) $(PNGIMAGES)
all:
sphinx-build -E -b html . build
# %.pdf-orig: %.pdf
# $(PNGCONV) $< > $@-tmp.png
# $(PDFCONV) $@-tmp.png $@
# rm $@-tmp.png
# %.png: %.pdf
# test -d $<-orig && $(PNGCONV) $<-orig > $@ || true
# test -d $<-orig || $(PNGCONV) $< > $@ || true
latex:
sphinx-build -E -b latex . build
test:
OMP_NUM_THREADS=1 sphinx-build -b doctest . build
#push:
# rsync -rEvpLz build/* root@skewed.de:/var/www/graph-tool-doc/
#push-dev:
# rsync -rEvpLz build/* root@skewed.de:/var/www/graph-tool-doc/dev/
clean:
rm -rf build
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment