File: rules

package info (click to toggle)
guice 4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,620 kB
  • ctags: 9,493
  • sloc: xml: 60,913; java: 54,700; sh: 119; jsp: 12; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

# Variables for the Built-Using field in the control file
ASM_VERSION   := $(shell dpkg-query -f '$${source:Version}' --show libasm-java)
CGLIB_VERSION := $(shell dpkg-query -f '$${source:Version}' --show libcglib-java)

%:
	dh $@ --buildsystem=maven

override_dh_gencontrol:
	dh_gencontrol -- -Vasm:Version=${ASM_VERSION} -Vcglib:Version=${CGLIB_VERSION}

get-orig-source:
	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
	uscan --destdir $(CURDIR) --force-download --download-current-version