mmc-utils: create mandir during install
Subsystems (2)
PATCH 1/1 mmc-utils: create mandir during install
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 <[email protected]>
--- Makefile | 1 + 1 file changed, 1 insertion(+)
Makefile +1 -0
@@ -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)
Signature · 1 line
2.43.0
Quoted 1 line
fixes install faikure when mandir is not already created
^^^^^^ failure
Quoted 6 lines
install -m 644 mmc.1
/usr/share/man/man1
install: cannot create regular file '/usr/share/man/man1': No such file or
directorySigned-off-by Rudi Heitbaum <[email protected]>
Reviewed-by Avri Altman <[email protected]>
Quoted 18 lines
--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +1
-1@@ -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
Ulf Hansson
AppliedQuoted 7 lines · Rudi Heitbaum
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 directorySigned-off-by Rudi Heitbaum <[email protected]>
Applied to git.kernel.org/pub/scm/utils/mmc/mmc-utils.git master, thanks!
Kind regards
Uffe
Quoted 19 lines
--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +1
-1@@ -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