File: rules

package info (click to toggle)
varna 3-93%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,452 kB
  • sloc: java: 39,108; javascript: 121; makefile: 22; sh: 4
file content (27 lines) | stat: -rwxr-xr-x 696 bytes parent folder | download | duplicates (2)
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

DH_VERBOSE := 1
JAVA_HOME=/usr/lib/jvm/default-java
export JAVA_TOOL_OPTIONS=-Dfile.encoding=ISO-8859-1
include /usr/share/dpkg/default.mk

%:
	dh $@ --with javahelper

override_dh_installman:
	CLASSPATH=$(CURDIR)/varna.jar \
	PATH=$$PATH:debian/man_helper help2man \
		--version-string "$(DEB_VERSION_UPSTREAM)" \
		--no-info \
		--name "Assisted drawing of RNA secondary structure" \
		--output debian/varna.1 \
		--help-option=-x \
		varna
	dh_installman

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	java -cp $(CURDIR)/varna.jar \
		fr.orsay.lri.varna.applications.VARNAcmd  -structureDBN "((..))" \
		-sequenceDBN "AACCUU"  -o "./out.png"
endif