$(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(a)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