File: rules

package info (click to toggle)
libmetadata-extractor-java 2.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,456 kB
  • ctags: 1,384
  • sloc: java: 8,291; sh: 105; xml: 67; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# debian/rules file for libmetadata-extractor-java (uses cdbs)
  
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_BUILD_TARGET := dist-binaries
DEB_INSTALL_CHANGELOGS_ALL := ChangeLog.txt
LIBRARY := metadata-extractor
DEB_UPSTREAM_VERSION := 2.3.1

clean::
	rm -rf Releases Build api

install/libmetadata-extractor-java::
	install -m 644 -D Releases/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar ${CURDIR}/debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar
	dh_link usr/share/java/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar usr/share/java/${LIBRARY}.jar