File: rules

package info (click to toggle)
dicomnifti 2.33.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 744 kB
  • sloc: sh: 2,527; cpp: 2,113; makefile: 160; ansic: 17
file content (18 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# default CMake flags:
# set manpage install dir to temp directory -- manpages will be installed
# by dh_installman
CMAKE_FLAGS = -DDINIFTI_MAN_DIR:PATH=../../tmp/manpages \
              -DDINIFTI_CTN_INCLUDE=/usr/include/ctn \
              -DDINIFTI_CTN_LIB=/usr/lib/ctn/libctn.a

# one ring to rule them all ...
%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_FLAGS)