File: rules

package info (click to toggle)
nmodl 0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,016 kB
  • sloc: cpp: 28,492; javascript: 9,841; yacc: 2,804; python: 1,971; lex: 1,674; xml: 181; sh: 136; ansic: 37; makefile: 17; pascal: 7
file content (25 lines) | stat: -rwxr-xr-x 605 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
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1

BUILD_FLAGS = \
	-DCMAKE_INSTALL_RPATH="" \
	-DNMODL_3RDPARTY_USE_CATCH2:BOOL=OFF \
	-DNMODL_3RDPARTY_USE_CLI11:BOOL=OFF \
	-DNMODL_3RDPARTY_USE_EIGEN:BOOL=OFF \
	-DNMODL_3RDPARTY_USE_FMT:BOOL=OFF \
	-DNMODL_3RDPARTY_USE_JSON:BOOL=OFF \
	-DNMODL_3RDPARTY_USE_PYBIND11:BOOL=OFF \
	-DNMODL_3RDPARTY_USE_SPDLOG:BOOL=OFF

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- $(BUILD_FLAGS)

override_dh_auto_test:
	dh_auto_test --no-parallel

execute_after_dh_auto_install:
	chrpath -d $(CURDIR)/debian/tmp/usr/bin/nmodl