#!/usr/bin/make -f export JAVA_HOME = /usr/lib/jvm/default-java # Modules built only to run the upstream tests (see README.source). # The install step of maven-debian-helper installs every module of the # reactor, so remove them from the package afterwards. TEST_MODULES = flexmark-test-util flexmark-test-specs flexmark-core-test flexmark-ext-typographic PKG = debian/libflexmark-java %: dh $@ execute_after_dh_auto_install: for m in $(TEST_MODULES); do \ rm -f $(PKG)/usr/share/java/$$m.jar $(PKG)/usr/share/java/$$m-*.jar; \ rm -rf $(PKG)/usr/share/maven-repo/com/vladsch/flexmark/$$m; \ done