Hi, On 13.03.2015 17:05, marivalen wrote: [...] > I talked to helmut as a doxygen maintainer on IRC and he pointed out the > following: > > - dh_doxygen only runs after the build is completed and thus has no > way to influence the run of doxygen > > - since it is impossible to determine the configuration file used by > doxygen during the build, the only working solution in practice > would be to move /usr/bin/doxygen to /usr/bin/doxygen.real and let > the former be a thin wrapper around the latter which detects using > environment variable when a package build is in progress and if so > determines the used configuration file and changes its value of > HTML_TIMESTAMP to NO before passing it on to doxygen.real > > It is unlikely that such a fragile and hacky workaround will be included > in dh_doxygen.
My hope was that the maintainer could override dh_doxygen somehow and manually point it to the Doxyfile. Then dh_doxygen would simply replace the configuration option in question. However it seems this tool is not envisaged to work that way. Anyway, I think I have found a better solution after finally reading the documentation part of Doxygen about command line usage. :-) http://www.stack.nl/~dimitri/doxygen/manual/faq.html Although doxygen cannot be controlled via command line options, it is possible to pipe options via stdin to it. The following override for dh_auto_build-indep works: cd Box2D/Documentation && ( cat Doxyfile ; echo"HTML_TIMESTAMP=NO") | doxygen - I will implement this change and fix this bug with the next upload. I prefer modifying debian/rules and I think it is the least "intrusive" way to resolve this issue. At least nobody has to worry about rebasing patches in the future. :) By the way, I have forwarded your patch upstream. https://code.google.com/p/box2d/issues/detail?id=344 Cheers, Markus
signature.asc
Description: OpenPGP digital signature