diff mbox series

Makefile: manpages: only add get_cyclictest_snapshot if PYLIB

Message ID 20201009205230.887524-1-anders.roxell@linaro.org
State New
Headers show
Series Makefile: manpages: only add get_cyclictest_snapshot if PYLIB | expand

Commit Message

Anders Roxell Oct. 9, 2020, 8:52 p.m. UTC
Since the installation of get_cyclictest_snapshot.py is done if PYLIB
then we should only install the manpages then as well.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
Hi,

I wasn't sure if this is the correct way for the manpages or if we just
want to remove the "ifdef PYLIB" around the
src/hwlatdetect/hwlatdetect.8 ?

What do you prefer ?

Cheers,
Anders

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Kacur Oct. 19, 2020, 7:22 p.m. UTC | #1
On Fri, 9 Oct 2020, Anders Roxell wrote:

> Since the installation of get_cyclictest_snapshot.py is done if PYLIB
> then we should only install the manpages then as well.
> 
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> Hi,
> 
> I wasn't sure if this is the correct way for the manpages or if we just
> want to remove the "ifdef PYLIB" around the
> src/hwlatdetect/hwlatdetect.8 ?
> 
> What do you prefer ?
> 
> Cheers,
> Anders
> 
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index c3ebbd7b2a2e..5f34075a4aa1 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -49,10 +49,10 @@ MANPAGES = src/cyclictest/cyclictest.8 \
>  	   src/sched_deadline/deadline_test.8 \
>  	   src/ssdd/ssdd.8 \
>  	   src/sched_deadline/cyclicdeadline.8 \
> -	   src/cyclictest/get_cyclictest_snapshot.8 \
>  	   src/oslat/oslat.8
>  
>  ifdef PYLIB
> +	MANPAGES += src/cyclictest/get_cyclictest_snapshot.8 \
>  	MANPAGES += src/hwlatdetect/hwlatdetect.8
>  endif
>  
> -- 
> 2.28.0

Signed-off-by: John Kacur <jkacur@redhat.com>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index c3ebbd7b2a2e..5f34075a4aa1 100644
--- a/Makefile
+++ b/Makefile
@@ -49,10 +49,10 @@  MANPAGES = src/cyclictest/cyclictest.8 \
 	   src/sched_deadline/deadline_test.8 \
 	   src/ssdd/ssdd.8 \
 	   src/sched_deadline/cyclicdeadline.8 \
-	   src/cyclictest/get_cyclictest_snapshot.8 \
 	   src/oslat/oslat.8
 
 ifdef PYLIB
+	MANPAGES += src/cyclictest/get_cyclictest_snapshot.8 \
 	MANPAGES += src/hwlatdetect/hwlatdetect.8
 endif