#!/usr/bin/make -f #include /usr/share/cdbs/1/rules/debhelper.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 filename:=$(wildcard jdk-9*.tar.gz) %: dh $@ override_dh_builddeb: dh_builddeb -- -Zgzip override_dh_install: custom-files dh_install # Build architecture-dependent files here. custom-files: ifeq ($(DEB_BUILD_ARCH), amd64) cp $(filename) ./oracle-java9-x64-installer.install-files/var/cache/oracle-jdk9-x64-installer/ endif