forked from premiere/premiere-libtorrent
make aafigure configurable in makefile and disable it on travis
This commit is contained in:
parent
2169d123ea
commit
905690a1a6
|
@ -134,7 +134,7 @@ script:
|
|||
|
||||
- cd docs
|
||||
- 'if [ "$docs" == "1" ]; then
|
||||
make RST2HTML=rst2html.py;
|
||||
make RST2HTML=rst2html.py AAFIGURE=echo;
|
||||
fi'
|
||||
- cd ..
|
||||
|
||||
|
|
|
@ -9,6 +9,10 @@ ifndef RST2HTML
|
|||
RST2HTML:=rst2html
|
||||
endif
|
||||
|
||||
ifndef AAFIGURE
|
||||
AAFIGURE=aafigure
|
||||
endif
|
||||
|
||||
REFERENCE_TARGETS = \
|
||||
manual-ref \
|
||||
reference \
|
||||
|
@ -120,7 +124,7 @@ ifneq ($(STAGE),)
|
|||
endif
|
||||
|
||||
%.png:%.diagram
|
||||
aafigure --scale 0.6 -o $@ $?
|
||||
$(AAFIGURE) --scale 0.6 -o $@ $?
|
||||
ifneq ($(STAGE),)
|
||||
cp $@ $(WEB_PATH)/$@
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue