#!/usr/bin/make -f
# Enable this export to get more detailed information about what debhelper does
#export DH_VERBOSE=1

export DEB_CFLAGS_MAINT_APPEND= -Wall -W

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
                          --prefix=/usr \
                          --mandir=/usr/share/man

override_dh_install:
	install -m 755 -o 0 -g 0 extras/cuetag.sh $(CURDIR)/debian/cuetools/usr/bin/cuetag
	dh_install

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_builddeb:
	dh_builddeb -- -Zxz
