File: Makefile.am

package info (click to toggle)
bubblewrap 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 848 kB
  • sloc: ansic: 3,090; sh: 2,258; xml: 353; perl: 100; makefile: 66; python: 28
file content (61 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
AM_CFLAGS = $(WARN_CFLAGS)
CLEANFILES =
EXTRA_DIST = \
	.dir-locals.el \
	.editorconfig \
	README.md \
	autogen.sh \
	demos/bubblewrap-shell.sh \
	demos/flatpak-run.sh \
	demos/flatpak.bpf \
	demos/userns-block-fd.py \
	packaging/bubblewrap.spec \
	uncrustify.cfg \
	uncrustify.sh \
	$(NULL)

GITIGNOREFILES = build-aux/ gtk-doc.make config.h.in aclocal.m4

bin_PROGRAMS = bwrap

bwrap_srcpath := $(srcdir)
include Makefile-bwrap.am

install-exec-hook:
if PRIV_MODE_SETUID
	$(SUDO_BIN) chown root $(DESTDIR)$(bindir)/bwrap
	$(SUDO_BIN) chmod u+s $(DESTDIR)$(bindir)/bwrap
endif

check_PROGRAMS = test-bwrap

test-bwrap: bwrap
	rm -rf test-bwrap
	cp bwrap test-bwrap
if PRIV_MODE_SETUID
	$(SUDO_BIN) chown root test-bwrap
	$(SUDO_BIN) chmod u+s test-bwrap
endif

test_bwrap_SOURCES=

include Makefile-docs.am

LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
LOG_COMPILER =
TESTS = tests/test-run.sh
TESTS_ENVIRONMENT = BWRAP=$(abs_top_builddir)/test-bwrap

EXTRA_DIST += $(TESTS)
EXTRA_DIST += tests/libtest-core.sh

if ENABLE_BASH_COMPLETION
bashcompletiondir = $(BASH_COMPLETION_DIR)
dist_bashcompletion_DATA = completions/bash/bwrap
endif

-include $(top_srcdir)/git.mk

AM_DISTCHECK_CONFIGURE_FLAGS =		\
	--with-bash-completion-dir="\$(datadir)"/bash-completion/ \
	$(NULL)