File: rules

package info (click to toggle)
jmagick 6.7.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,528 kB
  • sloc: ansic: 6,590; java: 2,758; sh: 365; makefile: 168; xml: 101
file content (24 lines) | stat: -rwxr-xr-x 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with maven_repo_helper

override_dh_auto_test:
	# not fatal due to be sensible to border and exact version of imagemagick
	dh_auto_test || true

override_dh_auto_build:
	# Dependencies between targets seem not to be 100% correct.
	dh_auto_build --no-parallel

override_dh_link:
	dh_link
	# Creating a symlink from the JNI dir to the shared lib stored in the
	# canonical library directory
	mkdir -p debian/libjmagick7-jni/usr/lib/jni
	cd debian/libjmagick7-jni/usr/lib/jni &&\
	    ln -s ../${DEB_HOST_MULTIARCH}/libJMagick-*.so libJMagick.so