mirror of
https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
synced 2024-11-23 01:47:02 +08:00
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 <rudi@heitbaum.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/ZpxwXEKy1bAOCes_@378c8c72e398 Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
f884bfe684
commit
123fd8b2ac
1
Makefile
1
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)
|
||||
|
Loading…
Reference in New Issue
Block a user