#!/usr/bin/make -f

export DH_VERBOSE=0

SOURCE=$(shell ls -d apcu-*)

%:
	dh $@ --with php5

override_dh_auto_configure:
	cd $(SOURCE) && /usr/bin/phpize
	dh_auto_configure -D$(SOURCE)

override_dh_auto_install:
	INSTALL_ROOT=$(CURDIR)/debian/php5-apcu dh_auto_install --destdir=debian/php5-apcu -D$(SOURCE)

override_dh_compress:
	dh_compress -Xapc.php
