mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 22:03:49 +03:00
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 <abologna@redhat.com> Acked-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a5544e021f
commit
24f62f7bf1
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user