File: rules

package info (click to toggle)
gmetrics 0.7-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 2,948 kB
  • ctags: 51
  • sloc: xml: 12,897; java: 64; makefile: 21
file content (26 lines) | stat: -rwxr-xr-x 535 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
21
22
23
24
25
26
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
%:
	dh $@ --with javahelper

override_jh_build:
	ant -f debian/build.xml

override_jh_clean:
	jh_clean
	ant -f debian/build.xml clean
	mh_clean

override_dh_install:
	dh_install
	mh_installpoms -plibgmetrics-groovy-java
	mh_installjar -plibgmetrics-groovy-java -l pom.xml target/GMetrics.jar

get-orig-source:
	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
	uscan \
		--verbose \
		--rename  \
		--destdir $(CURDIR)      \
		--watchfile debian/watch \
		--force-download