#!/usr/bin/make -f # See debhelper(7) (uncomment to enable). # Output every command that modifies files on the build system. #export DH_VERBOSE = 1 %: dh $@ override_dh_auto_build: make -B zimfw.zsh override_dh_auto_test: make lint bats test/test_*.bats override_dh_auto_clean: if command -v git >/dev/null && git rev-parse --is-inside-work-tree >/dev/null &>/dev/null && [ "$$(git rev-parse --show-toplevel)" = "$(CURDIR)" ] ; then \ git checkout zimfw.zsh ;\ fi rm -rf tmp DESTDIR=debian/zimfw/usr/share/zimfw override_dh_auto_install: mkdir -p $(DESTDIR) install -m644 zimfw.zsh $(DESTDIR)