File: rules

package info (click to toggle)
jnr-x86asm 1.0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,152 kB
  • ctags: 5,113
  • sloc: java: 17,091; xml: 42; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk

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

VERSION=$(shell dpkg-parsechangelog -S Version | cut -d- -f1)
JAR=target/jnr-x86asm-$(VERSION).jar
common-post-build-indep::
	# Generate OSGi metadata for jffi.jar
	bnd wrap --properties debian/jnr-x86asm.bnd --output $(JAR).tmp $(JAR)
	mv $(JAR).tmp $(JAR)

get-orig-source:
	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename