source: oracle-java8-installer/trunk/fuentes/debian/rules @ 566

Last change on this file since 566 was 566, checked in by jrpelegrina, 3 years ago

First release to xenial

  • Property svn:executable set to *
File size: 580 bytes
Line 
1#!/usr/bin/make -f
2# -*- makefile -*-
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
13override_dh_install: custom-files
14
15        dh_install
16
17# Build architecture-dependent files here.
18custom-files:
19
20ifeq ($(DEB_BUILD_ARCH), i386)
21        cp jdk-*-i586.tar.gz ./oracle-java8-installer.install-files/var/cache/oracle-jdk8-installer/jdk-8u66-linux-i586.tar.gz
22endif
23
24ifeq ($(DEB_BUILD_ARCH), amd64)
25        cp jdk-*-x64.tar.gz ./oracle-java8-installer.install-files/var/cache/oracle-jdk8-installer/jdk-8u66-linux-x64.tar.gz
26endif
Note: See TracBrowser for help on using the repository browser.