File: rules

package info (click to toggle)
libcommons-collections3-java 3.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,936 kB
  • sloc: java: 56,134; xml: 2,727; sh: 11; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 532 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/dpkg/pkg-info.mk
include /usr/share/java/java_defaults.mk

LAST_MODIFIED        := $(shell date +%s%N | cut -c -13)

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

override_dh_auto_build:
	dh_auto_build -- jar javadoc -Dlastmodified=$(LAST_MODIFIED) -Djavac.release=$(java_compat_level)

override_dh_auto_install:
	mh_installpoms -plibcommons-collections3-java
	mh_installjar -plibcommons-collections3-java -l --usj-name=commons-collections3 pom.xml build/commons-collections-$(DEB_VERSION_UPSTREAM).jar