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

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

PKGDIR = $(CURDIR)/debian/nip4/

override_dh_auto_test:
	dh_auto_test || true

override_dh_auto_install:
	dh_auto_install
	$(RM) -f $(PKGDIR)/usr/share/applications/mimeinfo.cache
	install -d $(PKGDIR)/usr/share/doc/nip4/
	mv $(PKGDIR)/usr/share/nip4/data/examples \
		$(PKGDIR)/usr/share/doc/nip4/
	ln -s ../../doc/nip4/examples \
		$(PKGDIR)/usr/share/nip4/data/

%:
	dh $@ --buildsystem=meson --fail-missing

.PHONY: override_dh_auto_test override_dh_auto_install
