File: rules

package info (click to toggle)
bubblewrap 0.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,716 kB
  • sloc: sh: 5,194; ansic: 3,346; xml: 368; perl: 100; makefile: 61; python: 28
file content (28 lines) | stat: -rwxr-xr-x 617 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
24
25
26
27
28
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+pie,+bindnow

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PKGDIR=$(CURDIR)/debian/bubblewrap

%:
	dh $@

override_dh_fixperms:
	chmod a+x $(PKGDIR)/usr/share/bash-completion/completions/bwrap
	dh_fixperms

.PHONY: override_dh_fixperms

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# Remove LD_PRELOAD so we don't run with faketime. It uses
	# sem_open(), but bubblewrap runs in an environment where that
	# can't work.
	env -u LD_PRELOAD dh_auto_test
endif

.PHONY: override_dh_auto_test