diff --git a/.travis.yml b/.travis.yml index 5ab6378aa..72ea08686 100644 --- a/.travis.yml +++ b/.travis.yml @@ -134,7 +134,7 @@ script: - cd docs - 'if [ "$docs" == "1" ]; then - make RST2HTML=rst2html.py; + make RST2HTML=rst2html.py AAFIGURE=echo; fi' - cd .. diff --git a/docs/makefile b/docs/makefile index 3e492eeb8..6970da2c2 100644 --- a/docs/makefile +++ b/docs/makefile @@ -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