File: rules

package info (click to toggle)
macromoleculebuilder 4.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 122,488 kB
  • sloc: cpp: 23,632; python: 5,047; ansic: 2,101; awk: 145; perl: 144; makefile: 40; sh: 21
file content (22 lines) | stat: -rwxr-xr-x 539 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# Optimization causes segmentation faults, thus turning it off.
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) -O0

export SimTK_INSTALL_DIR = /usr

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release \
		-DENABLE_LEPTON=OFF \
		-DGEMMI_DIR=/usr \
		-DOpenMM_INCLUDE_DIR=/usr/include \
		-DSimTKmolmodel=/usr \
		-DCMAKE_CXX_FLAGS="-D BuildNtC -D USE_OPENMM $(CXXFLAGS)"

override_dh_installman:
	a2x -d manpage -f manpage -D debian/tmp debian/MMB.1.asciidoc
	dh_installman