#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk CONFIGURE_FLAGS = --host=$(DEB_HOST_GNU_TYPE)\ --build=$(DEB_BUILD_GNU_TYPE)\ --prefix=/usr\ --mandir=\$${prefix}/share/man\ --infodir=\$${prefix}/share/info \ $(shell dpkg-buildflags --export=configure) override_dh_auto_configure: mkdir -p build cd build && ../configure $(CONFIGURE_FLAGS) --with-apxs=apxs2 override_dh_auto_build: make -C build/po update-gmo $(MAKE) -C build execute_before_dh_link: rm -rf debian/libapache2-mod-musicindex/usr/share/doc/libapache2-mod-musicindex override_dh_auto_clean: -rm -rf build override_dh_auto_install: $(MAKE) -C build install DESTDIR=$(CURDIR)/debian/tmp execute_before_dh_missing: rm -f debian/tmp/usr/lib/apache2/modules/mod_musicindex.so override_dh_installchangelogs: dh_installchangelogs -i ChangeLog %: dh $@ --with apache2