mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[#1055] Added automated link creation.
This commit is contained in:
@@ -106,10 +106,13 @@ $(srcdir)/kea-messages.rst: $(mes_files) mes2doc.py
|
||||
$(srcdir)/api.rst: $(api_files) api2doc.py
|
||||
$(PYTHON) $(srcdir)/api2doc.py -o $@ $(api_files)
|
||||
|
||||
link:
|
||||
rm -f $(srcdir)/arm/platforms.rst
|
||||
ln -s $(srcdir)/../../../platforms.rst $(srcdir)/arm/platforms.rst
|
||||
|
||||
PDFLATEX_AND_OPTS=$(PDFLATEX) -interaction nonstopmode
|
||||
|
||||
pdf: $(main_sources)
|
||||
pdf: $(main_sources) link
|
||||
$(SPHINXBUILD) -M latex $(srcdir) $(sphinxbuilddir) $(sphinxopts)
|
||||
-cd $(sphinxbuilddir)/latex && $(PDFLATEX_AND_OPTS) kea-arm.tex
|
||||
-cd $(sphinxbuilddir)/latex && $(PDFLATEX_AND_OPTS) kea-arm.tex
|
||||
@@ -124,7 +127,7 @@ pdf: $(main_sources)
|
||||
-cd $(sphinxbuilddir)/latex && $(PDFLATEX_AND_OPTS) kea-messages.tex
|
||||
cd $(sphinxbuilddir)/latex && $(PDFLATEX_AND_OPTS) kea-messages.tex
|
||||
|
||||
html: $(main_sources)
|
||||
html: $(main_sources) link
|
||||
$(SPHINXBUILD) -M html $(srcdir) $(sphinxbuilddir) $(sphinxopts)
|
||||
|
||||
# This target is not used anywhere, but people who prefer single page docs
|
||||
|
Reference in New Issue
Block a user