File: rules

package info (click to toggle)
xrootd-s3-http 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 684 kB
  • sloc: cpp: 9,348; sh: 608; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 596 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
#!/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 \
		-DENABLE_TESTS:BOOL=ON \
		-DEXE_BIN:PATH=/bin/true

override_dh_auto_test:
	# s3 tests require network (https://s3.us-east-1.amazonaws.com)
	# posc tests fail when run in parallel:
	# https://github.com/PelicanPlatform/xrootd-s3-http/issues/111
	dh_auto_test -- ARGS+="-E 'S3|s3|TestPosc'"

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp