]> xenbits.xensource.com Git - libvirt.git/commitdiff
examples: Drop unnecessary $(mkinstalldirs) call
authorAndrea Bolognani <abologna@redhat.com>
Tue, 21 May 2019 14:42:28 +0000 (16:42 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jun 2019 15:27:23 +0000 (17:27 +0200)
$(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>
examples/Makefile.am

index f2fef7df59bd698a22aa95dd30a832a2cd02f3e9..8c7f4a3d64e44b7ec5e00b135476cb657bda0332 100644 (file)
@@ -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; \