aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2018-11-15 10:12:17 +0100
committerGitHub <noreply@github.com>2018-11-15 10:12:17 +0100
commit4ad1477c24c3da4be6c7962606e6f9d47336b6a3 (patch)
treeeb4ca374b50ab3c1183a25ac264245c7b4fd681b /docs/Makefile
parent73865a4df1a7d4c37052647f0458567751735f00 (diff)
parentd928db15d53805d9b728b440079756081961c536 (diff)
downloadPROJ-4ad1477c24c3da4be6c7962606e6f9d47336b6a3.tar.gz
PROJ-4ad1477c24c3da4be6c7962606e6f9d47336b6a3.zip
Merge pull request #1175 from rouault/iso19111_for_merge
Implement RFC 2: Initial integration of "GDAL SRS barn" work
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 2540fdff..e6a02fdd 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -51,9 +51,19 @@ help:
clean:
rm -rf $(BUILDDIR)/*
+.doxygen_up_to_date: ../Doxyfile ../src/*.cpp ../include/proj/*.hpp
+ ../scripts/doxygen.sh
+ touch .doxygen_up_to_date
+
.PHONY: html
-html:
+html: .doxygen_up_to_date
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ # Undoes the hack done in scripts/doxygen.sh
+ @sed "s/io::Convention_/io::Convention/g" < $(BUILDDIR)/html/development/reference/cpp/io.html | sed "s/>Convention_/>Convention/g" | sed "s/_WKT2/WKT2/g" | sed "s/_WKT1/WKT1/g" > $(BUILDDIR)/html/development/reference/cpp/io.html.tmp
+ @mv $(BUILDDIR)/html/development/reference/cpp/io.html.tmp $(BUILDDIR)/html/development/reference/cpp/io.html
+ # Undoes the hacks of scripts/generate_breathe_friendly_general_doc.py
+ @sed "s/<em class=\"property\">namespace <\/em>//g" < $(BUILDDIR)/html/development/reference/cpp/cpp_general.html > $(BUILDDIR)/html/development/reference/cpp/cpp_general.html.tmp
+ @mv $(BUILDDIR)/html/development/reference/cpp/cpp_general.html.tmp $(BUILDDIR)/html/development/reference/cpp/cpp_general.html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."