#!/usr/bin/make -f

PACKAGE := ceph-tools

%:
	dh ${@} --with apache2

override_dh_auto_build:
	# disabled

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/open-infrastructure-ceph-tools

	rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/storage-tools/CHANGELOG.txt
	rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/storage-tools/LICENSE.txt

	mv debian/open-infrastructure-$(PACKAGE)/usr/share/doc/storage-tools debian/open-infrastructure-$(PACKAGE)/usr/share/doc/open-infrastructure-$(PACKAGE)

override_dh_systemd_enable:
	dh_systemd_enable --name=ceph-log