File: rules

package info (click to toggle)
jersey1 1.19.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 22,880 kB
  • ctags: 28,405
  • sloc: java: 158,139; xml: 31,914; jsp: 330; python: 42; sh: 17; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 529 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
#!/usr/bin/make -f

JAVA_HOME := /usr/lib/jvm/default-java

%:
	dh $@

override_dh_auto_build:
	# Generate the classes manually since the maven-jaxb-plugin isn't in Debian
	$(JAVA_HOME)/bin/xjc -p com.sun.research.ws.wadl -d jersey-server/src/main/java -catalog jersey-server/etc/catalog.xml jersey-server/etc

	dh_auto_build

override_dh_clean:
	dh_clean

	# Remove the generated WADL classes
	rm -Rf jersey-server/src/main/java/com/sun/research

get-orig-source:
	uscan --download-current-version --force-download --no-symlink