Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timo Jyrinki
calls
Commits
7d113fb0
Commit
7d113fb0
authored
Dec 04, 2020
by
Evangelos Ribeiro Tzaras
Browse files
debian: Add dependencies and rules for building docs
parent
5f090e91
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/control
View file @
7d113fb0
...
...
@@ -7,10 +7,12 @@ Uploaders:
Build-Depends:
debhelper (>= 11),
desktop-file-utils,
gtk-doc-tools <!nodoc>,
libcallaudio-dev,
libfeedback-dev,
libhandy-1-dev (>= 1.0.0),
libgtk-3-dev,
libgtk-3-doc <!nodoc>,
modemmanager-dev,
libmm-glib-dev (>= 1.12.0),
libpeas-dev,
...
...
debian/rules
View file @
7d113fb0
...
...
@@ -2,9 +2,25 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
CONFIGURE_OPTS+=-Dgtk_doc=true
else
CONFIGURE_OPTS+=-Dgtk_doc=false
endif
%:
dh $@ -- -B_build
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_OPTS)
override_dh_auto_build:
dh_auto_build
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
# https://github.com/mesonbuild/meson/pull/2862
ninja -C _build/ calls-doc
endif
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
xvfb-run ninja -C _build test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment