File: rules

package info (click to toggle)
dokujclient 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 916 kB
  • ctags: 1,055
  • sloc: java: 5,064; xml: 401; sh: 111; php: 20; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk

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

build/dokujclient::
	# Build the man page
	cd man && DOKUJCLIENT_CMD='../debian/scripts/dokujclient_from_build_tree.sh' ./build_man.sh

binary-predeb/dokujclient::
	# Test the command line tool
	PKG_LIB_PATH=debian/libdokujclient-java/usr/share/java PKG_BIN_PATH=debian/dokujclient/usr/bin ./debian/scripts/test.sh

clean::
	rm -f man/man1/dokujclient.1

get-orig-source:
	uscan --download-current-version --force-download --rename