File: rules

package info (click to toggle)
codenarc 0.23-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 11,312 kB
  • sloc: java: 2,530; xml: 1,088; makefile: 21
file content (26 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download | duplicates (3)
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 -plibcodenarc-groovy-java
	mh_installjar -plibcodenarc-groovy-java -l pom.xml target/CodeNarc.jar

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