gstreamer/debian.upstream/rules

19 lines
587 B
Text
Raw Normal View History

2010-03-16 13:53:54 +00:00
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
2010-03-23 07:31:04 +00:00
# Allow HTML documentation build
indep_conf_flags = \
--with-html-dir=\$${prefix}/share/doc/$(DEB_SOURCE_PACKAGE)
2010-03-23 07:31:04 +00:00
# only build the docs if gtk-doc-tools is installed, i.e. binary-indep is
# called
ifeq ($(shell test "`dpkg -l gtk-doc-tools | grep ^ii`" && echo binary-indep),binary-indep)
indep_conf_flags += --enable-gtk-doc
endif
DEB_CONFIGURE_EXTRA_FLAGS += $(indep_conf_flags)