Disable gtk-doc if we are not going to build libostree-doc
In particular this affects architecture-specific builds. Note that it remains in Build-Depends (not Build-Depends-Indep) because it is also needed for gtkdocize during dh_autoreconf.
This commit is contained in:
parent
f5517cfac7
commit
50a43a9279
|
|
@ -1,3 +1,12 @@
|
||||||
|
ostree (2017.12-2) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Disable gtk-doc if we are not going to build libostree-doc,
|
||||||
|
in particular for architecture-specific builds. Note that it remains
|
||||||
|
in Build-Depends (not Build-Depends-Indep) because it is also needed
|
||||||
|
for gtkdocize during dh_autoreconf.
|
||||||
|
|
||||||
|
-- Simon McVittie <smcv@debian.org> Mon, 16 Oct 2017 10:13:54 +0100
|
||||||
|
|
||||||
ostree (2017.12-1) unstable; urgency=medium
|
ostree (2017.12-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||||
# Some tests assert that we will see English strings
|
# Some tests assert that we will see English strings
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
|
binaries := $(shell dh_listpackages)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --with=gir
|
dh $@ --with=gir
|
||||||
|
|
||||||
|
|
@ -21,11 +23,15 @@ configure_options = \
|
||||||
--with-systemdsystemunitdir=/lib/systemd/system \
|
--with-systemdsystemunitdir=/lib/systemd/system \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
ifneq ($(filter libostree-doc,$(binaries)),)
|
||||||
configure_options += --enable-gtk-doc
|
configure_options += --enable-gtk-doc
|
||||||
configure_options += --enable-man
|
|
||||||
else
|
else
|
||||||
configure_options += --disable-gtk-doc
|
configure_options += --disable-gtk-doc
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
||||||
|
configure_options += --enable-man
|
||||||
|
else
|
||||||
configure_options += --disable-man
|
configure_options += --disable-man
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue