#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer 

override_dh_install:
	dh_install
	sed -i s,@php_bin@,workaround,	debian/pdepend/usr/bin/pdepend

override_dh_installman:
	mkdir $(CURDIR)/debian/tmp
	cd debian/pdepend/usr/share/php && \
        help2man --no-info \
        --name='PHP_Depend command line interface' \
        ../../bin/pdepend \
        > $(CURDIR)/debian/tmp/pdepend.1
	dh_installman

get-orig-source:
	uscan --verbose --rename --force
