File: rules

package info (click to toggle)
libpdfrenderer-java 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 3,832 kB
  • ctags: 2,586
  • sloc: java: 19,236; xml: 1,343; sh: 11; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

install/libpdfrenderer-java::
	install -m644 -D dist/PDFRenderer.jar \
	  $(DEB_DESTDIR)/usr/share/java/pdfrenderer-$(DEB_UPSTREAM_VERSION).jar
	dh_link -plibpdfrenderer-java \
	  /usr/share/java/pdfrenderer-$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/pdfrenderer.jar

get-orig-source:
	uscan --download-version=$(DEB_UPSTREAM_VERSION) --force-download