Install documentation in /usr/share/gtk-doc, with symlinks in /u/s/doc

gtk-doc documentation is technically a functional interface (Policy
§12.3), because other packages can build-depend on it and use it to
fix cross-references.
This commit is contained in:
Simon McVittie 2019-07-19 11:34:39 +01:00
parent 75838c3804
commit 4ac5c2808f
4 changed files with 12 additions and 4 deletions

4
debian/changelog vendored
View File

@ -8,6 +8,10 @@ gtk+3.0 (3.24.10-2) UNRELEASED; urgency=medium
d/p/gtk-Really-don-t-distribute-built-files.patch,
d/p/demos-examples-tests-Don-t-distribute-built-files.patch:
Replace patches above with an upstreamable version
* Install documentation in /usr/share/gtk-doc, with symlinks in /u/s/doc.
gtk-doc documentation is technically a functional interface
(Policy §12.3), because other packages can build-depend on it and
use it to fix cross-references.
-- Simon McVittie <smcv@debian.org> Thu, 18 Jul 2019 09:40:24 +0100

View File

@ -1,2 +1,2 @@
usr/share/gtk-doc/html/gtk* usr/share/doc/@DOC_PKG@
usr/share/gtk-doc/html/gdk* usr/share/doc/@DOC_PKG@
usr/share/gtk-doc/html/gdk*
usr/share/gtk-doc/html/gtk*

View File

@ -1,5 +1,5 @@
usr/share/doc/@DOC_PKG@/gdk3 usr/share/gtk-doc/html/gdk3
usr/share/doc/@DOC_PKG@/gtk3 usr/share/gtk-doc/html/gtk3
usr/share/gtk-doc/html/gdk3 usr/share/doc/@DOC_PKG@/gdk3
usr/share/gtk-doc/html/gtk3 usr/share/doc/@DOC_PKG@/gtk3
usr/share/doc/libatk1.0-doc/atk usr/share/doc/@DOC_PKG@/atk
usr/share/doc/libglib2.0-doc/glib usr/share/doc/@DOC_PKG@/glib
usr/share/doc/libglib2.0-doc/gobject usr/share/doc/@DOC_PKG@/gobject

4
debian/libgtk-3-doc.maintscript vendored Normal file
View File

@ -0,0 +1,4 @@
dir_to_symlink /usr/share/doc/libgtk-3-doc/gdk3 ../../gtk-doc/html/gdk3 3.24.10-2~
dir_to_symlink /usr/share/doc/libgtk-3-doc/gtk3 ../../gtk-doc/html/gtk3 3.24.10-2~
symlink_to_dir /usr/share/gtk-doc/html/gdk3 ../../doc/libgtk-3-doc/gdk3 3.24.10-2~
symlink_to_dir /usr/share/gtk-doc/html/gtk3 ../../doc/libgtk-3-doc/gtk3 3.24.10-2~