File: rules

package info (click to toggle)
asm 7.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,408 kB
  • sloc: java: 49,157; xml: 235; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

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

override_dh_auto_build:
	# Copy the source files to recreate the asm-all artifact (removed in 6.1)
	mkdir -p asm-all/src/
	cp -R asm/src/*          asm-all/src/
	cp -R asm-analysis/src/* asm-all/src/
	cp -R asm-commons/src/*  asm-all/src/
	cp -R asm-tree/src/*     asm-all/src/
	cp -R asm-util/src/*     asm-all/src/

	dh_auto_build -- jar javadoc -x :asm-test:compileJava -x :asm-test:javadoc

override_mh_install:
	mh_install -e$(DEB_VERSION_UPSTREAM)