debian swirl logo

Back to the packages list goocanvasmm

#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

SHARED_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libgoocanvasmm-[0-9\.]+-[0-9][0-9a-z]*)[[:space:]]*$$/\1/p' debian/control)
SHVER = 0.15

# Most of the docs aren't necessary
DEB_INSTALL_DOCS_ALL = NEWS

DEB_INSTALL_EXAMPLES_libgoocanvasmm-doc += -XMakefile -X.deps -X.libs -X.o

# Don't compres the C++ examples or any of the (html) reference documentation as this could break links
DEB_COMPRESS_EXCLUDE += examples reference

DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"

build/libgoocanvasmm-doc::
		$(MAKE) -C $(CURDIR)/doc all

Builds:

libgoocanvasmm-1.0-5
c++ bindings for goocanvas - shared library
libgoocanvasmm-dev
c++ bindings for goocanvas - development files
libgoocanvasmm-doc
c++ bindings for goocanvas - documentation and examples