File: rules

package info (click to toggle)
adql 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,248 kB
  • sloc: java: 27,809; xml: 426; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 431 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
#!/usr/bin/make -f

ANT=ant -f buildADQL.xml \
   -DPOSTGRES=/usr/share/java/postgresql.jar \
   -DJUNIT-API=/usr/share/java/junit4.jar

%:
	dh $@ --with javahelper 

override_dh_auto_build:
	${ANT} buildLib
	${ANT} compileJavadoc

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	${ANT} junitValidation
endif

override_dh_auto_clean:
	${ANT} clean

override_jh_depends:
	jh_depends -Xlibpostgresql-jdbc-java