File: rules

package info (click to toggle)
dokujclient 3.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 896 kB
  • sloc: java: 5,066; xml: 401; sh: 110; php: 20; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	dh_auto_build

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test

	# Test the command line tool
	CLASSPATH=target/dokujclient-3.9.1.jar debian/scripts/dokujclient --help
endif