We have a large source repository and we don't want to archive the documentation that we generate. We have a target in the top level makefile 'doc' which kicks off doxygen to generate the documentation.
So I have in the top level directory a local page that references my doxygen documentation.
documents.html
it contains this single line.
/--! <meta http-equiv="REFRESH" content="0;URL=somepath/html/index.html">
This works fine when the documentation has been generated via doxygen.
However, the browser just displays "page not found" when doxygen has not been run.
Is there a way to display an error message when the documentation has not been generated?
something like "please run 'make doc' first."