Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
275ff70b
Commit
275ff70b
authored
Apr 11, 2015
by
Tiago Peixoto
Browse files
Cleanup doc Makefile
parent
1f037fb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Makefile
View file @
275ff70b
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment