* [PATCH] mmc-utils: create mandir during install
@ 2024-07-21 2:20 Rudi Heitbaum
2024-07-27 17:25 ` Avri Altman
2024-08-01 11:01 ` Ulf Hansson
0 siblings, 2 replies; 3+ messages in thread
From: Rudi Heitbaum @ 2024-07-21 2:20 UTC (permalink / raw)
To: linux-mmc; +Cc: rudi, avri.altman, ulf.hansson
fixes install faikure when mandir is not already created
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@heitbaum.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] mmc-utils: create mandir during install
2024-07-21 2:20 [PATCH] mmc-utils: create mandir during install Rudi Heitbaum
@ 2024-07-27 17:25 ` Avri Altman
2024-08-01 11:01 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Avri Altman @ 2024-07-27 17:25 UTC (permalink / raw)
To: Rudi Heitbaum, linux-mmc@vger.kernel.org; +Cc: ulf.hansson@linaro.org
> 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@heitbaum.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] mmc-utils: create mandir during install
2024-07-21 2:20 [PATCH] mmc-utils: create mandir during install Rudi Heitbaum
2024-07-27 17:25 ` Avri Altman
@ 2024-08-01 11:01 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2024-08-01 11:01 UTC (permalink / raw)
To: Rudi Heitbaum; +Cc: linux-mmc, avri.altman
On Sun, 21 Jul 2024 at 04:20, Rudi Heitbaum <rudi@heitbaum.com> wrote:
>
> fixes install faikure when mandir is not already created
>
> 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@heitbaum.com>
Applied to git.kernel.org/pub/scm/utils/mmc/mmc-utils.git master, thanks!
Kind regards
Uffe
> ---
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-01 11:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-21 2:20 [PATCH] mmc-utils: create mandir during install Rudi Heitbaum
2024-07-27 17:25 ` Avri Altman
2024-08-01 11:01 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox