debian swirl logo

Back to the packages list mtdev

#!/usr/bin/make -f

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/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
distribution	:= $(shell lsb_release -is)
LDFLAGS += -Wl,-z,defs -Wl,--as-needed

DEB_DH_MAKESHLIBS_ARGS_libmtdev1 = --add-udeb=libmtdev1-udeb

DEB_INSTALL_MANPAGES_mtdev-tools = debian/mtdev-test.1

change_dist: control links

links:
		$(MAKE) -f debian/rules.conf $@

common-binary-post-install-arch::
		find debian/tmp/usr/lib -name \*.la -exec rm {} \;
		find debian/tmp/usr/lib -name \*.a -exec rm {} \;

common-binary-predeb-arch:: list-missing

binary-install/libmtdev1-udeb::
		rm -rf debian/libmtdev1-udeb/usr/share/doc/libmtdev1-udeb

Builds:

libmtdev1
multitouch protocol translation library - shared library
libmtdev1-udeb
multitouch protocol translation library - shared library
libmtdev-dev
multitouch protocol translation library - dev files
mtdev-tools
multitouch protocol translation library - test tools