diff mbox series

[COMMITTED,1/1] doc: Remove make install

Message ID 20240405143904.642340-1-pvorel@suse.cz
State Accepted
Headers show
Series [COMMITTED,1/1] doc: Remove make install | expand

Commit Message

Petr Vorel April 5, 2024, 2:39 p.m. UTC
make install in doc is broken on out-of-tree builds. Although we may
want to install generated docs (final html), for now just disable the
target to fix CI. Previously was the install target used just for
installing man pages (which are deprecated anyway).

Fixes: 4a72aada8 ("New LTP documentation")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 Makefile | 1 -
 1 file changed, 1 deletion(-)

Comments

Cyril Hrubis April 5, 2024, 2:45 p.m. UTC | #1
Hi!
> make install in doc is broken on out-of-tree builds. Although we may
> want to install generated docs (final html), for now just disable the
> target to fix CI. Previously was the install target used just for
> installing man pages (which are deprecated anyway).
> 
> Fixes: 4a72aada8 ("New LTP documentation")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  Makefile | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 49d91f4d5..96edd5a80 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -38,7 +38,6 @@ export UCLINUX
>  # We're not using uclinux based targets (default).
>  ifneq ($(UCLINUX),1)

We should probably remove the UCLINUX later on as well...

>  COMMON_TARGETS		:= pan utils
> -INSTALL_TARGETS		:= doc
>  endif
>  
>  define target_to_dir_dep_mapping
> -- 
> 2.43.0
>
Petr Vorel April 5, 2024, 5:58 p.m. UTC | #2
> Hi!
> > make install in doc is broken on out-of-tree builds. Although we may
> > want to install generated docs (final html), for now just disable the
> > target to fix CI. Previously was the install target used just for
> > installing man pages (which are deprecated anyway).

> > Fixes: 4a72aada8 ("New LTP documentation")
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> >  Makefile | 1 -
> >  1 file changed, 1 deletion(-)

> > diff --git a/Makefile b/Makefile
> > index 49d91f4d5..96edd5a80 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -38,7 +38,6 @@ export UCLINUX
> >  # We're not using uclinux based targets (default).
> >  ifneq ($(UCLINUX),1)

> We should probably remove the UCLINUX later on as well...

Agree. Do you mean whole UCLINUX (I could rebase the patch I have sent)
or just in here in this Makefile (or in all Makefiles?)

Kind regards,
Petr

> >  COMMON_TARGETS		:= pan utils
> > -INSTALL_TARGETS		:= doc
> >  endif

> >  define target_to_dir_dep_mapping
> > -- 
> > 2.43.0
Cyril Hrubis April 9, 2024, 8:19 a.m. UTC | #3
Hi!
> Agree. Do you mean whole UCLINUX (I could rebase the patch I have sent)
> or just in here in this Makefile (or in all Makefiles?)

Ideally remove all UCLINUX from Makefiles in a separate patch...
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 49d91f4d5..96edd5a80 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,6 @@  export UCLINUX
 # We're not using uclinux based targets (default).
 ifneq ($(UCLINUX),1)
 COMMON_TARGETS		:= pan utils
-INSTALL_TARGETS		:= doc
 endif
 
 define target_to_dir_dep_mapping