File: rules

package info (click to toggle)
libjtds-java 1.2.5%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 12,180 kB
  • ctags: 12,775
  • sloc: java: 39,611; xml: 702; sh: 34; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/jcifs.jar

%:
	dh $@ --with javahelper

# Ignore upstream's build.xml.
override_dh_auto_clean:
	dh_auto_clean -- -f debian/build.xml -Dcurdir=$(CURDIR)
	mh_clean

override_dh_auto_build:
	dh_auto_build -- -f debian/build.xml -Dcurdir=$(CURDIR) dist

override_dh_auto_install:
	mh_installpom -plibjtds-java --has-package-version pom.xml
	mh_installjar -plibjtds-java --java-lib pom.xml dist/jtds-*.jar