File: rules

package info (click to toggle)
libjmac-java 1.74-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,764 kB
  • ctags: 2,924
  • sloc: java: 9,279; cpp: 4,375; xml: 369; makefile: 32; sh: 12
file content (20 lines) | stat: -rwxr-xr-x 613 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
#!/usr/bin/make -f

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

JAVA_HOME            := /usr/lib/jvm/default-java
DEB_ANT_BUILDFILE    := debian/build.xml
DEB_ANT_BUILD_TARGET := jar
DEB_JARS             := tritonus_share

install/libjmac-java::
	for i in jmac jmacdecoder jmacplayer jmacspi \
		jmacspi15 jmactritonusspi; do \
	install -m 644 -D jars/$$i.jar \
		$(DEB_DESTDIR)/usr/share/java/$$i-$(DEB_UPSTREAM_VERSION).jar; \
	dh_link /usr/share/java/$$i-$(DEB_UPSTREAM_VERSION).jar \
		/usr/share/java/$$i.jar; done	

get-orig-source:
	uscan --force-download --rename