File: rules

package info (click to toggle)
soci 4.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 6,104 kB
  • sloc: cpp: 41,383; javascript: 12,188; ada: 1,973; ansic: 1,643; xml: 192; sh: 36; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed -Wl,-z,now

%:
	dh $@ --buildsystem=cmake

# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DSOCI_EMPTY:BOOLEAN=OFF \
		-DSOCI_CXX11=1

override_dh_auto_test:
	# Run test, but for now, ignore results. (to be fixed later...)
	-dh_auto_test