#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Enable hardening build flags export DEB_BUILD_MAINT_OPTIONS=hardening=+all include /usr/share/dpkg/pkg-info.mk UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//') %: dh $@ --buildsystem cmake execute_before_dh_auto_clean: dh_auto_clean --buildsystem ant execute_after_dh_auto_clean: mh_clean execute_before_dh_auto_configure: dh_auto_configure --buildsystem ant execute_before_dh_auto_build: dh_auto_build --buildsystem ant execute_before_dh_auto_install: dh_auto_install --buildsystem ant execute_after_dh_install: mh_installjar -plibosmpbf-java -l pom.xml osmpbf.jar mh_installpom -plibosmpbf-java pom.xml override_dh_makeshlibs: dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION)