Source

mana-core-atlasdoxygen / cmt / fragments / doxygen_header


##
## DOXYGEN_INPUT            "../src ../$(package)"
## DOXYGEN_FILE_PATTERNS    "*.cxx *.h"
##

${CONSTITUENT} ::
	@for d in $(DOXYGEN_INPUT); do \
	  if test ! -d $${d}; then \
	    info="directory"; \
	    missing=$${d}; \
	    error=1; \
	    break; \
	  else \
	    info="files"; \
	    error=1; \
	    for p in $(DOXYGEN_FILE_PATTERNS); do \
	      a=`eval ls $${d}/$${p} 2>&1`; \
	      if test $$? = 0; then \
		error=; \
		break; \
	      fi \
	    done; \
	    if test "$${error}" = 1; then break; fi; \
	  fi; \
	done; \
	if test "$${error}" = 1; then \
	  echo "Missing $${info} $${missing} for Doxygen input"; \
	  exit 0; \
	fi
	@$(ATLASDOXYGENROOT)/cmt/doxygen.sh $(package) $(DOXYGEN_OUTPUT_DIRECTORY)

${CONSTITUENT}clean ::
	@if test ! -d ../doc; then \
	  /bin/rm -f Doxyfile; \
	fi