Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Rudi Heitbaum <rudi@heitbaum.com>
To: linux-mmc@vger.kernel.org
Cc: rudi@heitbaum.com, avri.altman@wdc.com, ulf.hansson@linaro.org
Subject: [PATCH] mmc-utils: create mandir during install
Date: Sun, 21 Jul 2024 02:20:12 +0000	[thread overview]
Message-ID: <ZpxwXEKy1bAOCes_@378c8c72e398> (raw)

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


             reply	other threads:[~2024-07-21  2:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-21  2:20 Rudi Heitbaum [this message]
2024-07-27 17:25 ` [PATCH] mmc-utils: create mandir during install Avri Altman
2024-08-01 11:01 ` Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZpxwXEKy1bAOCes_@378c8c72e398 \
    --to=rudi@heitbaum.com \
    --cc=avri.altman@wdc.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox