Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
4
5 ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
6 export DEB_CXXFLAGS_MAINT_APPEND = -g1
7 override_dh_dwz:
8 endif
9
10 CMAKE_FLAGS = \
11 -DBUILD_MATLAB_BINDINGS=OFF \
12 -DBUILD_PYTHON_BINDINGS=OFF \
13 -DUSE_MPI=ON \
14 -DUSE_OPENMP=ON \
15 -DBUILD_TESTS=ON \
16 -DBUILD_CUDA_LIB=OFF
17
18 %:
19 dh $@
20
21 override_dh_auto_configure:
22 dh_auto_configure -- $(CMAKE_FLAGS)
23
24 # test download material from the net. Removing them.
25 override_dh_auto_test:
26
27 override_dh_compress:
28 dh_compress --exclude=.pdf
29
30 execute_after_dh_auto_build:
31 $(MAKE) -C obj-* doc