File: rules

package info (click to toggle)
eclipselink 2.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 31,232 kB
  • sloc: java: 309,142; xml: 61; makefile: 19; sh: 10
file content (27 lines) | stat: -rwxr-xr-x 604 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
27
#!/usr/bin/make -f

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

%:
	dh --with javahelper $@

override_dh_auto_build:
	# Use upstream JPQL.g (copied to debian/) to rebuild JPQL lexer using ANTLR 3.2
	antlr3 -fo org/eclipse/persistence/internal/jpa/parsing/jpql/antlr/ debian/JPQL.g
	ant -f debian/build.xml

override_dh_auto_clean:
	ant -f debian/build.xml clean

override_jh_installlibs:
	jh_installlibs
	jh_manifest -v

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