From: Tom Hromatka Date: Wed, 2 Aug 2023 18:40:47 +0000 (-0600) Subject: samples: Wrap systemd samples with WITH_SYSTEMD automake variable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da889404a74b94cf9a200f69ef9e6cf888659ba7;p=thirdparty%2Flibcgroup.git samples: Wrap systemd samples with WITH_SYSTEMD automake variable Signed-off-by: Tom Hromatka (cherry picked from commit b055cfedcad70973cfd64de85fd1ce53c159a6a8) --- diff --git a/samples/cmdline/Makefile.am b/samples/cmdline/Makefile.am index dd0ca5e9..1271b9a0 100644 --- a/samples/cmdline/Makefile.am +++ b/samples/cmdline/Makefile.am @@ -8,6 +8,8 @@ if WITH_SAMPLES +if WITH_SYSTEMD EXTRA_DIST = systemd-with-idle-process.md +endif endif diff --git a/samples/python/Makefile.am b/samples/python/Makefile.am index 17aaf89b..3d45d72e 100644 --- a/samples/python/Makefile.am +++ b/samples/python/Makefile.am @@ -8,7 +8,9 @@ if WITH_SAMPLES +if WITH_SYSTEMD EXTRA_DIST = create_systemd_scope.py +endif endif