#!/usr/bin/make -f

%:
	dh ${@} --with apache2

override_dh_auto_install:
	# apache-tools
	$(MAKE) -C apache DESTDIR=$(CURDIR)/debian/open-infrastructure-service-tools install

	# service-tools
	rm -f debian/open-infrastructure-service-tools/usr/share/doc/service-tools/CHANGELOG.txt
	rm -f debian/open-infrastructure-service-tools/usr/share/doc/service-tools/LICENSE.txt
	-mv debian/open-infrastructure-service-tools/usr/share/doc/* debian/open-infrastructure-service-tools/usr/share/doc/open-infrastructure-service-tools