File: rules

package info (click to toggle)
hsqldb 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 21,456 kB
  • sloc: java: 178,100; sql: 3,863; xml: 1,823; sh: 863; ansic: 235; python: 91; perl: 47; makefile: 43; php: 36
file content (31 lines) | stat: -rwxr-xr-x 729 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
25
26
27
28
29
30
31
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with javahelper,maven_repo_helper --buildsystem=ant

override_dh_auto_build:
	dh_auto_build -- \
		-f hsqldb/build/build.xml \
		-Dant.build.javac.target=1.8 \
		-Dant.build.javac.source=1.8 \
		hsqldb hsqldbutil
	$(MAKE) -C debian/bin all

override_dh_installchangelogs:
	dh_installchangelogs hsqldb/doc-src/changelist_2_0.txt

override_dh_auto_clean:
	dh_auto_clean -- \
		-f hsqldb/build/build.xml

override_dh_clean:
	dh_clean
	rm -f hsqldb/lib/hsqldb*.jar
	$(MAKE) -C debian/bin clean
	mkdir -p hsqldb/doc-src

override_jh_classpath:
	jh_classpath
	jh_classpath -plibhsqldb-java --classpath=/usr/share/java/servlet-api.jar \
		hsqldb/lib/hsqldb.jar