File: rules

package info (click to toggle)
libmatthew-java 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 432 kB
  • sloc: java: 2,076; ansic: 361; makefile: 141
file content (27 lines) | stat: -rwxr-xr-x 739 bytes parent folder | download | duplicates (3)
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

%:
	dh $@ --with javahelper

override_dh_auto_build:
	$(MAKE) JAVA_HOME=/usr/lib/jvm/default-java \
			  JAVAC=/usr/lib/jvm/default-java/bin/javac \
			  JAVAH=/usr/lib/jvm/default-java/bin/javah \
			  JAVADOC=/usr/lib/jvm/default-java/bin/javadoc \
			  JAVADOCFLAGS="-quiet -author -link /usr/share/doc/default-jdk-doc/api/" \
                          JVERCFLAGS="-source 1.7" \
			  JAR=/usr/bin/fastjar \
			  PREFIX=/usr \
			  all doc

override_dh_auto_test:

override_dh_auto_clean:
	dh_auto_clean
	#rm -f cx/ath/matthew/debug/Debug.java

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr install install-doc

override_jh_installjavadoc:
	jh_installjavadoc --author="Matthew Johnson"