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"
|