source: oracle-java9-installer/trunk/fuentes/debian/rules @ 572

Last change on this file since 572 was 572, checked in by jrpelegrina, 4 years ago

First release to xenial

  • Property svn:executable set to *
File size: 615 bytes
Line 
1#!/usr/bin/make -f
2#include /usr/share/cdbs/1/rules/debhelper.mk
3
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6
7%:
8        dh $@
9
10override_dh_builddeb:
11        dh_builddeb -- -Zgzip
12
13
14override_dh_install: custom-files
15
16        dh_install
17
18# Build architecture-dependent files here.
19custom-files:
20
21ifeq ($(DEB_BUILD_ARCH), i386)
22        cp jdk-9-linux-i586.tar.gz ./oracle-java9-installer.install-files/var/cache/oracle-jdk9-installer/jdk-9-linux-i586.tar.gz
23endif
24
25ifeq ($(DEB_BUILD_ARCH), amd64)
26        cp jdk-9-linux-x64.tar.gz ./oracle-java9-installer.install-files/var/cache/oracle-jdk9-installer/jdk-9-linux-x64.tar.gz
27endif
28
Note: See TracBrowser for help on using the repository browser.