#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk # Enable all standard Debian hardening flags export DEB_BUILD_MAINT_OPTIONS = hardening=+all export JAVA_HOME = /usr/lib/jvm/default-java export MY_UPSTREAM_VERSION = $(shell echo "$(DEB_VERSION_UPSTREAM)" | sed 's/+.*//') %: dh $@ override_dh_auto_build: asprof.1 javac src/helper/one/profiler/*.java dh_auto_build asprof.1: debian/asprof.1.md # Compile manpage from Markdown source using pandoc pandoc --standalone --from=markdown --to=man $< --output=$@ override_dh_auto_clean: dh_auto_clean override_dh_auto_test: # Skip upstream tests during build time due to JDK 25 early-access # compatibility. # Integration testing is deferred to autopkgtest.