File: rules

package info (click to toggle)
opsin 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 16,972 kB
  • ctags: 2,293
  • sloc: java: 28,508; xml: 6,250; makefile: 12
file content (27 lines) | stat: -rwxr-xr-x 1,057 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
25
26
27
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export JAVA_HOME := /usr/lib/jvm/default-java
export CLASSPATH := /usr/share/java/automaton.jar:/usr/share/java/xom.jar:/usr/share/java/commons-io.jar:/usr/share/java/commons-cli.jar:/usr/share/java/junit4.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/mockito-core.jar:/usr/share/java/jaxen.jar

%:
	dh $@  --with javahelper --parallel

override_jh_build:
	jh_build --main=uk.ac.cam.ch.wwmm.opsin.NameToStructure	

override_jh_installlibs:
	jh_installlibs
	jar -uf debian/libopsin-java/usr/share/java/opsin.jar 	\
		-C opsin-core/src/main/resources .

override_dh_installchangelogs:
	dh_installchangelogs ReleaseNotes.txt