File: rules

package info (click to toggle)
sdo-api-java 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 320 kB
  • ctags: 406
  • sloc: java: 767; xml: 221; makefile: 18; sh: 12
file content (24 lines) | stat: -rwxr-xr-x 430 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
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export JH_JAR_EXTRA=xml

%:
	dh --with javahelper $@

override_jh_build:
	cp -a src/main/resources/xml .
	jh_build sdo-api.jar src/main/java

override_dh_clean:
	dh_clean
	rm -rf xml

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