diff mbox series

[05/16] libdmmp: Makefile: create man3dir

Message ID 20220901160952.2167-6-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: minor fixes and build improvements | expand

Commit Message

Martin Wilck Sept. 1, 2022, 4:09 p.m. UTC
From: Martin Wilck <mwilck@suse.com>

Without this "make install" may fail.

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libdmmp/Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libdmmp/Makefile b/libdmmp/Makefile
index 2e99b3e..e458925 100644
--- a/libdmmp/Makefile
+++ b/libdmmp/Makefile
@@ -45,6 +45,7 @@  install:
 		$(DESTDIR)$(pkgconfdir)/$(PKGFILE)
 	perl -i -pe 's|__INCLUDEDIR__|$(includedir)|g' \
 		$(DESTDIR)$(pkgconfdir)/$(PKGFILE)
+	$(INSTALL_PROGRAM) -d 755 $(DESTDIR)$(man3dir)
 	$(INSTALL_PROGRAM) -m 644 -t $(DESTDIR)$(man3dir) docs/man/*.3
 
 uninstall: