RE: [PATCH] mmc-utils: create mandir during install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> fixes install faikure when mandir is not already created
                       ^^^^^^  failure 
> 
>   install -m 644 mmc.1 /usr/share/man/man1
>   install: cannot create regular file '/usr/share/man/man1': No such file or
> directory
> 
> Signed-off-by: Rudi Heitbaum <rudi@xxxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Makefile b/Makefile
> index 9e14a5c..06ae0f7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -53,6 +53,7 @@ clean:
>  install: $(progs)
>         $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
>         $(INSTALL) $(progs) $(DESTDIR)$(bindir)
> +       $(INSTALL) -m755 -d $(DESTDIR)$(mandir)/man1
>         $(INSTALL) -m 644 mmc.1 $(DESTDIR)$(mandir)/man1
> 
>  -include $(foreach obj,$(objects), $(dir $(obj))/.$(notdir $(obj)).d)
> --
> 2.43.0






[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux