File: rules

package info (click to toggle)
itksnap 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,196 kB
  • ctags: 9,196
  • sloc: cpp: 62,895; sh: 175; makefile: 13
file content (26 lines) | stat: -rwxr-xr-x 696 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
CXXFLAGS+=-fPIC -funroll-loops -ftree-vectorize

# one ring to rule them all ...
%:
	dh $@ --parallel


override_dh_auto_configure:
	dh_auto_configure -- -DSNAP_PACKAGE_QT_PLUGINS=OFF


override_dh_auto_install:
	dh_auto_install
	mkdir -p $(CURDIR)/debian/itksnap/usr/share/pixmaps/
	convert $(CURDIR)/ProgramData/Images2D/EdgeForcesExample.png -resize 32x32 \
		$(CURDIR)/debian/itksnap/usr/share/pixmaps/itksnap.xpm

# test need the DISPLAY envirunment variable set, because they open a window.
# therefore I disable them for now, will have to look into xvfb
#
override_dh_auto_test:
	echo "no tests run"