Skip to content
Snippets Groups Projects
Commit 5cad074b authored by Detlev Casanova's avatar Detlev Casanova
Browse files

debian: Build and install the documentation


Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
parent a313d3f2
No related branches found
No related tags found
3 merge requests!51Merge changes from apertis/v2022-updates into apertis/v2022,!41Remove hotdoc dependency,!35Add gtk-doc documentation
......@@ -8,6 +8,7 @@ Build-Depends:
debhelper (>= 10),
dh-apparmor,
gobject-introspection,
gtk-doc-tools,
libgirepository1.0-dev,
libglib2.0-dev (>= 2.58.2),
libpolkit-gobject-1-dev,
......
libcroesor/docs/html usr/share/doc/libcroesor-0-doc
usr/share/doc/rhosydd/libcroesor-0 usr/share/doc/libcroesor-0-doc/html
librhosydd/docs/html usr/share/doc/librhosydd-0-doc
usr/share/doc/rhosydd/librhosydd-0 usr/share/doc/librhosydd-0-doc/html
usr/share/gtk-doc/*
......@@ -6,6 +6,13 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with gir
override_dh_autoreconf:
# gtkdocize is disabled for now in dh-autoreconf, so it needs to be run
# manually. See https://salsa.debian.org/debian/dh-autoreconf/-/commit/9f66b177dfcb5a757493721c86228afc1f0f8899
mkdir -p m4
gtkdocize --copy
dh_autoreconf
override_dh_auto_configure:
dh_auto_configure \
-- \
......@@ -14,6 +21,7 @@ override_dh_auto_configure:
--enable-installed-tests \
--with-daemon-user=rhosydd \
--with-backend-user=rhosydd-mock \
--enable-gtk-doc \
$(NULL)
override_dh_strip:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment