From 24f62f7bf14b7db36022b3fc0813dd9c93285103 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 21 May 2019 16:42:28 +0200 Subject: [PATCH] examples: Drop unnecessary $(mkinstalldirs) call $(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 Acked-by: Michal Privoznik --- 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.47.2