[libvirt] [PATCH 08/16] examples: Drop unnecessary $(mkinstalldirs) call

Andrea Bolognani abologna at redhat.com
Wed May 22 17:52:59 UTC 2019


$(mkinstalldirs) works like 'mkdir -p' in that it will
create all the necessary parts of the path leading up to
the actual directory, which means creating $(examplesdir)
beforehand is not necessary.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 examples/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index f2fef7df59..8c7f4a3d64 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -115,7 +115,6 @@ endif WITH_NWFILTER
 examplesdir = $(docdir)/examples
 
 install-data-local: $(INSTALL_DATA_LOCAL)
-	$(mkinstalldirs) $(DESTDIR)$(examplesdir)
 	for p in $(EXAMPLES); do \
 		d=$$(dirname $$p); \
 		$(mkinstalldirs) $(DESTDIR)$(examplesdir)/$$d; \
-- 
2.21.0




More information about the libvir-list mailing list