File: rules

package info (click to toggle)
geronimo-validation-1.0-spec 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 296 kB
  • ctags: 306
  • sloc: java: 900; xml: 69; makefile: 18; sh: 12
file content (24 lines) | stat: -rwxr-xr-x 630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/geronimo-osgi-locator.jar

%:
	dh --with javahelper $@

override_jh_build:
	jh_build geronimo-validation.jar src/main

override_dh_auto_install:
	mh_installpom -plibgeronimo-validation-1.0-spec-java pom.xml --no-parent
	mh_installjar -plibgeronimo-validation-1.0-spec-java pom.xml \
	  geronimo-validation.jar /usr/share/java/geronimo-validation.jar

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