File: rules

package info (click to toggle)
icu4j 57.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 74,560 kB
  • ctags: 32,299
  • sloc: java: 303,570; xml: 4,954; perl: 3,380; makefile: 17
file content (27 lines) | stat: -rwxr-xr-x 547 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export JAVA_HOME := /usr/lib/jvm/default-java

UPSTREAM_TAR = icu4j-$(subst .,_,$(DEB_VERSION_UPSTREAM)).tgz

%:
	dh $@ --buildsystem=ant --with=maven-repo-helper

override_dh_auto_build:
	dh_auto_build -- jar docs

override_dh_install:
	dh_install
	jh_installjavadoc

override_dh_auto_clean:
	dh_auto_clean
	jh_clean

get-orig-source: $(UPSTREAM_TAR)
	mk-origtargz --repack --compression xz $<

$(UPSTREAM_TAR):
	wget http://download.icu-project.org/files/icu4j/$(DEB_VERSION_UPSTREAM)/$@