#!/usr/bin/make -f

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

install: build
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs

	$(MAKE) \
		DESTDIR=$(CURDIR)/debian/seetxt \
		pkgdatadir=$(CURDIR)/debian/seetxt/usr/share/seetxt-runtime \
		install

	rm -f $(CURDIR)/debian/seetxt/usr/share/seetxt-runtime/COPYING.images

binary-arch: install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_installexamples
	dh_install
	dh_installmenu
	dh_installman
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-arch

%:
	dh $@

#.PHONY: install
#.PHONY: binary binary-arch

# End of file
