File: rules

package info (click to toggle)
automaton 1.11-8%2Bdfsg1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 464 kB
  • sloc: java: 4,422; xml: 106; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

PACKAGE:=automaton
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')

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

%:
	dh $@  --with javahelper

override_jh_installlibs:
	mh_installpoms -plib$(PACKAGE)-java
	mh_installjar -plib$(PACKAGE)-java --usj-version=$(DEB_UPSTREAM_VERSION) \
	              --usj-name=$(PACKAGE) \
	              -l pom.xml dist/$(PACKAGE).jar