Commit 24dc52be authored by Helmut Grohne's avatar Helmut Grohne Committed by Sven Eckelmann

Fix FTCBFS: Do not build documentation during arch-only.

parent decde8a2
libg3d (0.0.8-23) UNRELEASED; urgency=medium
[ Sven Eckelmann ]
* Fix lintian overrides on i386
* Upgraded to policy 4.1.2, no changes required
* debian/copyright:
......@@ -9,6 +10,9 @@ libg3d (0.0.8-23) UNRELEASED; urgency=medium
* debian/rules
- Remove ddeb migration conflict against pre-stretch package
[ Helmut Grohne ]
* Fix FTCBFS: Do not build documentation during arch-only. (Closes: #883882)
-- Sven Eckelmann <sven@narfation.org> Tue, 02 Feb 2016 20:05:24 +0100
libg3d (0.0.8-22) unstable; urgency=medium
......
......@@ -7,6 +7,14 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
BUILDROOT=build
DOPACKAGES = $(shell dh_listpackages)
CONFIGURE_ARGS = --libexecdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)/libg3d' --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)/' --disable-libmagic
ifeq ($(filter libg3d-doc,$(DOPACKAGES)),)
CONFIGURE_ARGS += --disable-gtk-doc
else
CONFIGURE_ARGS += --enable-gtk-doc
endif
binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep:
dh $@ --parallel --list-missing
......@@ -23,7 +31,7 @@ override_dh_auto_configure:
gtkdocize --copy ;\
autoreconf -fi -I m4 ;\
dh_autoreconf --as-needed ;\
dh_auto_configure -- --enable-gtk-doc --libexecdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)/libg3d' --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)/' --disable-libmagic )
dh_auto_configure -- $(CONFIGURE_ARGS) )
override_dh_auto_clean:
rm -rf "$(CURDIR)/$(BUILDROOT)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment