GNOME Bugzilla – Bug 742408
Configuring doxyfile to only output docbook produces erroneous warning
Last modified: 2015-06-27 19:01:51 UTC
Overview: If the only output type is docbook (GENERATE_DOCBOOK = YES), and all other types are NO, doxygen reports "Warning: No output formats selected! Set at least one of the main GENERATE_* options to YES." Steps to Reproduce: Generate a doxyfile with only the output option GENERATE_DOCBOOK set to YES and execute doxygen against it. Actual Results: Though the warning is issued, processing continues and the docbook output is generated. Expected Results: No warning and docbook output generated. Build Date & Platform: This is only verified on a Windows 7 platform, using doxygen 1.8.9.1, but source seems to indicate that it will occur on any platform. Additional Information: The test in config.l for Config::check() on lines 1474-1482 should contain an entry for docbook, and it does not. Suggested adding: !Config_getBool("GENERATE_DOCBOOK") && to the compound test.
I've just pushed a proposed patch to github (pull request 284)
Thanks, I've merged the pull request
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.10. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).