File: rules

package info (click to toggle)
libjtds-java 1.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,248 kB
  • sloc: java: 35,541; xml: 363; 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