File: rules

package info (click to toggle)
darnwdl 0.8-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,564 kB
  • sloc: java: 3,671; ansic: 3,378; xml: 157; sh: 137; cpp: 84; makefile: 81
file content (31 lines) | stat: -rwxr-xr-x 724 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"

%:
	dh $@ --with javahelper

darnwdl.1: debian/darnwdl.xml
	$(XP) $(DB2MAN) $<

darnwdlicon.xpm: pixmaps/darnwdlicon.svg
	convert -background transparent $< $@

override_dh_autoreconf:
	# We don't need to build gtk version anymore

override_dh_auto_build: darnwdl.1 darnwdlicon.xpm
	dh_auto_build
	dh_auto_build --sourcedir=$(CURDIR)/src/jni

override_dh_auto_test:
	dh_auto_test
	ant test

override_dh_auto_clean:
	dh_auto_clean
	dh_auto_build --sourcedir=$(CURDIR)/src/jni