]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
make: use DIST_SUBDIRS
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 30 Sep 2022 15:52:36 +0000 (09:52 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 30 Sep 2022 15:52:45 +0000 (09:52 -0600)
As per automake manual[1], DIST_SUBDIRS should be used to recurse into
the subdirectories those we want to ship as part of make dist and use
SUBDIRS for conditionally building the directories. Adopt this rule
across the source.

[1] https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 48d49fbbe3eaf9c1ddd640f99cd8921752ab4e1d)

tests/Makefile.am

index 7ce61d7b7a4f318184f0099b19412c9cfdc29b82..c1e6a1b60da2fbac0200dfb476089605d7092eaa 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = ftests gunit tools
+DIST_SUBDIRS = ftests gunit tools
 
 INCLUDES = -I$(top_srcdir)/include
 LDADD = $(top_builddir)/src/.libs/libcgroup.la