File: rules

package info (click to toggle)
libjspeex-java 0.9.7-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,068 kB
  • sloc: java: 10,928; xml: 210; makefile: 14; sh: 12
file content (20 lines) | stat: -rwxr-xr-x 547 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME            := /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET := package
DEB_ANT_CHECK_TARGET := test
DEB_JARS             := ant-junit junit

install/libjspeex-java::
	install -m 644 -D dist/jspeex.jar $(DEB_DESTDIR)/usr/share/java/jspeex-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/jspeex-$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/jspeex.jar

clean::
	rm -Rf doc dist

get-orig-source:
	-uscan --upstream-version 0