File: rules

package info (click to toggle)
xrootd-s3-http 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 840 kB
  • sloc: cpp: 10,220; sh: 898; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 532 bytes parent folder | download | duplicates (2)
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
# -*- 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)
	dh_auto_test -- ARGS+="-E 'S3|s3'"

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	rm debian/tmp/usr/lib/*/libXrdPelicanHttpCore.so