#!/usr/bin/make -f
# -*- makefile -*-

# Workaround for configure script failures detecting pthreads support which
# don't work on Ubuntu but do on Debian
export DEB_CFLAGS_MAINT_APPEND = -Wno-error=nonnull

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --libdir=/usr/lib/libomxil-bellagio0

override_dh_makeshlibs:
	dh_makeshlibs -Xlibomx

override_dh_auto_install:
	dh_auto_install
	find debian -name '*.la' -exec rm {} \;
