File: rules

package info (click to toggle)
mauve-aligner 2.4.0%2B4736-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,496 kB
  • sloc: java: 28,417; xml: 301; sh: 97; makefile: 21
file content (38 lines) | stat: -rwxr-xr-x 1,012 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
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules file for mauve
# Andreas Tille <tille@debian.org>
# GPL

#export DH_VERBOSE=1

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

DEBJAR    := /usr/share/java
CLASS_PATH := $(DEBJAR)/biojava-core.jar:$(DEBJAR)/biojava-gui.jar:$(DEBJAR)/commons-cli.jar:$(DEBJAR)/dbus.jar:$(DEBJAR)/jebl.jar:$(DEBJAR)/zeus-jscl.jar
## :$(DEBJAR)/postgresql-jdbc4.jar

# to run the test suite
JAVA       := $(JAVA_HOME)/bin/java
ANT_HOME   := /usr/share/ant
ANT_BIN    := $(ANT_HOME)/bin/ant
ANT_ARGS   := -Dcompile.debug=true -Dcompile.optimize=true

%:
	dh $@ --with javahelper

override_dh_auto_clean:
	echo "Manual cleaning needed since build.xml has no clean target"
	find . -name "*.class" -delete
	rm -rf bin dist
	rm -rf build.number src/version.properties
	rm -rf Mauve.jar ChangeLog*
	$(RM) mauve-aligner.png

override_dh_auto_build:
	# CLASSPATH=$(CLASS_PATH)
	ant dist
	convert $(CURDIR)/src/images/mauve_icon.gif mauve-aligner.png

get-orig-source:
	. debian/get-orig-source