File: Makefile.am

package info (click to toggle)
ltt-control 2.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,744 kB
  • sloc: cpp: 207,706; sh: 28,837; python: 18,952; ansic: 11,636; makefile: 3,362; java: 109; xml: 46
file content (52 lines) | stat: -rw-r--r-- 1,189 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: GPL-2.0-only

ACLOCAL_AMFLAGS = -I m4

include $(top_srcdir)/aminclude_static.am

clean-local: code-coverage-clean
distclean-local: code-coverage-dist-clean

# `doc/examples` is placed last since it requires artifact from `src` and
# `src` can require artifact from `doc` (--enable-embedded-help).
SUBDIRS = include doc src tests doc/examples

if BUILD_EXTRAS
SUBDIRS += extras
endif

dist_doc_DATA = LICENSE \
                ChangeLog \
		README.adoc

dist_noinst_DATA = CodingStyle.md

TEST_DEPS = \
	.shellcheckrc

EXTRA_DIST = CLAUDE.md \
	     extras/lttng-bash_completion \
	     extras/zsh-completion \
	     LICENSES/BSD-2-Clause \
	     LICENSES/BSD-3-Clause \
	     LICENSES/GPL-2.0 \
	     LICENSES/LGPL-2.1 \
	     LICENSES/MIT \
	     LICENSES/BSL-1.0 \
	     version \
	     $(TEST_DEPS)

# Copy files required by the test suite to the build directory
all-local:
	@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
		for script in $(TEST_DEPS); do \
			cp -f $(srcdir)/$$script $(builddir); \
		done; \
	fi

clean-local:
	@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
		for script in $(TEST_DEPS); do \
			rm -f $(builddir)/$$script; \
		done; \
	fi