File: rules

package info (click to toggle)
nmodl 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,992 kB
  • sloc: cpp: 28,492; javascript: 9,841; yacc: 2,804; python: 1,967; lex: 1,674; xml: 181; sh: 136; ansic: 37; makefile: 18; pascal: 7
file content (26 lines) | stat: -rwxr-xr-x 617 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 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

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