#
-# TODO:
-#
-# A very primitive proof of concept on how to use doxygen, atm.
-#
-#
# doxygen/tutorial/toc.html.in
# doxygen/header.tex.in
#
COPYONLY
)
-CONFIGURE_FILE(
- ${CMAKE_CURRENT_SOURCE_DIR}/filter
- ${CMAKE_CURRENT_BINARY_DIR}/filter
- COPYONLY
- )
-
-
-
file(GLOB doxygen_input
${CMAKE_SOURCE_DIR}/include/deal.II/*
${CMAKE_BINARY_DIR}/include/deal.II/*
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/deal.II
- ${CMAKE_CURRENT_BINARY_DIR}/options.dox
- #already generated at configuration time:
- #${CMAKE_CURRENT_BINARY_DIR}/header.html
- #${CMAKE_CURRENT_BINARY_DIR}/footer.html
- #${CMAKE_CURRENT_BINARY_DIR}/filter
- #${CMAKE_BINARY_DIR}/include/deal.II/base/config.h
- #${CMAKE_BINARY_DIR}/include/deal.II/lac/lapack_templates.h
+ ${CMAKE_CURRENT_BINARY_DIR}/options.dox # TODO
COMMENT "Generating documentation via doxygen"
VERBATIM
)
+++ /dev/null
-# $Id$
-#
-# This Makefile only recurses into the subdirs
-include ../common/Make.global_options
-
-all: default
-
-# existing examples. take dirnames and strip 'step'
-steps = $(shell echo step-? step-??)
-
-
-# default is: build all examples. for each example, there is a target
-# build-step-N, where N in [1...]
-default: $(addprefix build-,$(steps)) doxygen
-
-# run example programs; make a target run-step-N for each N
-run: $(addprefix run-,$(steps)) run-doxygen
-
-# clean subdirs; make a target clean-step-N for each N
-clean:
- -rm -f *~ */*~ */*.$(OBJEXT) */*gmv */*gnuplot */*gpl */*eps */*pov */*tex \
- $(addsuffix $(EXEEXT),$(basename $(shell echo step-*/step-*.cc))) \
- doxygen/*.o doxygen/*.exe */Makefile.dep
-
-# Create plain.cc in each subdirectory
-plain: $(steps)
- for step in $(steps) ; do cd $$step; perl $D/doc/doxygen/tutorial/program2plain $$step.cc > plain.cc ; cd .. ; done
-
-# for each build/run/clean target: strip the build- prefix of the
-# target and build in that directory
-build-step-%:
- cd $(@:build-%=%) ; $(MAKE)
-run-step-%:
- cd $(@:run-%=%) ; $(MAKE) run
-clean-step-%:
- cd $(@:clean-%=%) ; $(MAKE) clean
-doxygen:
- cd doxygen ; $(MAKE)
-run-doxygen:
- cd doxygen ; $(MAKE) run
-clean-doxygen:
- cd doxygen ; $(MAKE) clean
-
-# all targets in this directory do not produce files, so they are
-# .PHONY:
-.PHONY: $(addprefix build-step-,$(steps)) \
- $(addprefix run-step-,$(steps)) \
- $(addprefix clean-step-,$(steps)) \
- doxygen doxygen-run doxygen-clean
\ No newline at end of file