File: rules

package info (click to toggle)
xrootd-s3-http 0.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 544 kB
  • sloc: cpp: 5,699; sh: 574; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 524 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DXROOTD_EXTERNAL_TINYXML2:BOOL=ON \
		-DXROOTD_PLUGINS_EXTERNAL_GTEST:BOOL=ON \
		-DBUILD_TESTING:BOOL=ON \
		-DLIB_INSTALL_DIR:PATH=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_test:
	# Run only http tests. S3 tests require network and S3 client binaries.
	dh_auto_test -- ARGS+="-R 'http|HTTP'"

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp