doc: Minor changes related to generating icon image files.
This commit is contained in:
parent
54a5805018
commit
26acee9f2a
2 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ PAPEROPT_a4 = -D latex_paper_size=a4
|
||||||
PAPEROPT_letter = -D latex_paper_size=letter
|
PAPEROPT_letter = -D latex_paper_size=letter
|
||||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||||
|
|
||||||
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest figures-all
|
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest figures-icons
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Please use \`make <target>' where <target> is one of"
|
@echo "Please use \`make <target>' where <target> is one of"
|
||||||
|
@ -61,13 +61,13 @@ help:
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm -rf $(BUILDDIR) $(STATICDIR)
|
-rm -rf $(BUILDDIR) $(STATICDIR)
|
||||||
|
|
||||||
html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest: figures-all $(BUILDDIR) $(STATICDIR)
|
html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest: figures-icons $(BUILDDIR) $(STATICDIR)
|
||||||
|
|
||||||
$(BUILDDIR) $(STATICDIR):
|
$(BUILDDIR) $(STATICDIR):
|
||||||
$(MKDIR_P) $@
|
$(MKDIR_P) $@
|
||||||
|
|
||||||
figures-all:
|
figures-icons:
|
||||||
$(MAKE) -C figures all
|
cd figures && make icons
|
||||||
|
|
||||||
html:
|
html:
|
||||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||||
|
|
|
@ -49,7 +49,7 @@ icons = select start router host pc mdr router_green \
|
||||||
# list of icons + .gif.jpg suffix
|
# list of icons + .gif.jpg suffix
|
||||||
icons_jpg = $(icons:%=%.jpg)
|
icons_jpg = $(icons:%=%.jpg)
|
||||||
|
|
||||||
all-local: $(icons_jpg)
|
icons: $(icons_jpg)
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -f $(icons_jpg)
|
rm -f $(icons_jpg)
|
||||||
|
|
Loading…
Reference in a new issue