File: rules

package info (click to toggle)
jarjar 1.4+svn142-10
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 448 kB
  • sloc: java: 1,881; xml: 354; makefile: 12; sh: 11
file content (20 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export CLASSPATH := /usr/share/java/asm.jar:/usr/share/java/asm-commons.jar

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

%:
	dh $@ --with maven-repo-helper

override_dh_auto_build:
	mkdir -p lib
	dh_auto_build

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

override_dh_auto_clean:
	dh_auto_clean
	dh_auto_build -- clean