Bug#825492: Make build of documentation architecture-independent

James Cowgill jcowgill at debian.org
Fri May 27 11:38:51 UTC 2016


Control: reassign -1 src:glfw3 3.1.2-3
Control: severity -1 wishlist
Control: tags -1 patch

Hi,

On Fri, 2016-05-27 at 10:09 +0100, Ghislain Vaillant wrote:
> Package: glfw3
> Version: 3.1.2-3
> 
> Dear glfw3 maintainers,
> 
> Whilst browsing the packaging of the glfw3 source package, I noticed
> that the documentation was not built in an architecture-independent
> way. I am forwarding a patch which addresses this.

Thanks for the patch! I think it can be greatly simplified though.

The glfw CMakeLists.txt contains a guard so that if doxygen is not
found, it doesn't build the documentation so the dh_auto_configure line
can be left as it.

I think the extra call to dh_doxygen is only needed if dot is used to
generate graphs. This has been explicitly disabled in the CMakeLists.tt
file.

So I think the attached patch (which is the same as yours without the
rules changes) should work. Does this seem reasonable?

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-doxygen-to-Build-Depends-Indep.-Closes-825492.patch
Type: text/x-patch
Size: 851 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160527/60603157/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160527/60603157/attachment.sig>


More information about the Pkg-games-devel mailing list