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

%:
	dh $@

override_dh_auto_build:
	pod2man $(CURDIR)/bin/cil > $(CURDIR)/cil.1
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	# debhelper compat 14 might make this chmod redundant
	chmod u+rwX -R $(CURDIR)/debian/cil
	rm -rf $(CURDIR)/debian/cil/usr/share/man/man1/cil.1p

override_dh_clean:
	dh_clean
	rm -rf $(CURDIR)/cil.1
