Skip to content
Snippets Groups Projects
Commit afab3d15 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Do a custom build of podd documentation

  If the podd docs are built using the ROOT tagfile, then when the hcana
  docs are built using the podd tag file, doxygen crashes.  This commit
  adds building of the podd docs to the hcana doc building Makefile.  The
  podd docs are built without using the ROOT tagfile, so a sed hack is used
  to modify podd's Doxyfile.
parent 102e1cf3
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,8 @@ config.log ...@@ -40,6 +40,8 @@ config.log
# Doxygen generated documentation directory # Doxygen generated documentation directory
docs/ROOT.tag docs/ROOT.tag
docs/html docs/html
docs/Doxyfile_podd
docs/Doxygen_podd.tag
# Examples directory # Examples directory
examples/*.root examples/*.root
......
...@@ -1310,8 +1310,8 @@ SKIP_FUNCTION_MACROS = YES ...@@ -1310,8 +1310,8 @@ SKIP_FUNCTION_MACROS = YES
# If a tag file is not located in the directory in which doxygen # If a tag file is not located in the directory in which doxygen
# is run, you must also specify the path to the tagfile here. # is run, you must also specify the path to the tagfile here.
TAGFILES = ../podd/docs/Doxygen.tag=../podddocs \ TAGFILES = Doxygen_podd.tag=../podddocs \
./ROOT.tag=https://root.cern.ch/doc/master ./ROOT.tag=https://root.cern.ch/doc/master
# When a file name is specified after GENERATE_TAGFILE, doxygen will create # When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads. # a tag file that is based on the input files it reads.
......
...@@ -4,14 +4,27 @@ DOXYGEN_OUTPUT_DIRECTORY ?= . ...@@ -4,14 +4,27 @@ DOXYGEN_OUTPUT_DIRECTORY ?= .
export DOXYGEN_OUTPUT_DIRECTORY export DOXYGEN_OUTPUT_DIRECTORY
export DOXYGEN_SOURCE_DIRECTORY := .. export DOXYGEN_SOURCE_DIRECTORY := ..
PODDDIR = ../podd/docs
# THISDIR is location of this directory relative to the podd docs directory
THISDIR = ../../docs
all: doxygen all: doxygen
doxygen: Doxyfile ROOT.tag doxygen: Doxyfile Doxygen_podd.tag ROOT.tag
doxygen doxygen
Doxyfile_podd: $(PODDDIR)/Doxyfile
sed -e 's/^TAGFILES.*/TAGFILES = /;s|Doxygen.tag|$(THISDIR)/Doxygen_podd.tag|' $< > $@
Doxygen_podd.tag: Doxyfile_podd
cd $(PODDDIR);doxygen $(THISDIR)/Doxyfile_podd
ROOT.tag: ROOT.tag:
wget https://root.cern.ch/doc/master/ROOT.tag wget https://root.cern.ch/doc/master/ROOT.tag
clean: clean:
rm -r $(DOXYGEN_OUTPUT_DIRECTORY)/html rm -r $(DOXYGEN_OUTPUT_DIRECTORY)/html
rm -r $(PODDDIR)/html
rm Doxyfile_podd
rm Doxygen_podd.tag
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment