Re: [libvirt] [PATCH 1/4] fix problem with MKDIR_P vs mkdir_p

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maximilian Wilhelm <max@xxxxxxxxxxx> wrote:
> configure defines mkdir_p but src/Makefile.am uses MKDIR_P
> ---
>  src/Makefile.am |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 9d934b4..eff9039 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -589,6 +589,8 @@ endif
>  endif
>  EXTRA_DIST += $(LXC_CONTROLLER_SOURCES)
>
> +MKDIR_P = $(mkdir_p)
> +
>  install-exec-local:
>  	$(MKDIR_P) "$(DESTDIR)$(localstatedir)/cache/libvirt"
>  	$(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/images"

This is just a symptom of your using a version of automake that is too old.

I see that MKDIR_P *is* automatically substituted:

    $ grep @MKDIR_P config.status
    s&@MKDIR_P@&$ac_MKDIR_P&;t t

    $ grep MKDIR_P.= Makefile.in
    MKDIR_P = @MKDIR_P@

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]