#!/usr/bin/make -f

%:
	dh $@ --buildsystem=maven


override_dh_install:
	dh_install
	chmod 644 debian/activemq/etc/activemq/instances-available/main/log4j2.properties
	find debian/activemq/usr/share/doc/activemq/examples -type f -exec chmod 644 {} +
	chmod 644 debian/activemq/usr/share/doc/activemq/README.txt