File: rules

package info (click to toggle)
perceptualdiff 2.1-5
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,224 kB
  • sloc: cpp: 1,100; sh: 112; makefile: 32
file content (23 lines) | stat: -rwxr-xr-x 496 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_test:
	if type /bin/bash > /dev/null ; then		\
	  ./test/run_tests.bash;			\
	else						\
	  echo "test script needs bash; skipped.";	\
	fi

.PHONY: rebuild-manpage
rebuild-manpage:
	help2man --name='perceptual image comparison tool' \
	 --no-info					\
	 --output=debian/perceptualdiff.1		\
	 obj-*/perceptualdiff