Re: [v4l-utils PATCH 1/2] v4l: libv4l1, libv4l2: Use $(mkdir_p) instead of deprecated $(MKDIR_P)

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

 



Em Mon, 25 Jan 2016 14:41:23 +0200
Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> escreveu:

> autoconf thinks $(MKDIR_P) is deprecated. Use $(mkdir_p) instead.

Did you get any troubles with the deprecated macro?

At least here (version 2.69), I don't see any error by using $(MKDIR_P).

Regards,
Mauro

> 
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
> ---
>  lib/libv4l1/Makefile.am | 2 +-
>  lib/libv4l2/Makefile.am | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/libv4l1/Makefile.am b/lib/libv4l1/Makefile.am
> index 005ae10..f768eaa 100644
> --- a/lib/libv4l1/Makefile.am
> +++ b/lib/libv4l1/Makefile.am
> @@ -7,7 +7,7 @@ if WITH_V4L_WRAPPERS
>  libv4l1priv_LTLIBRARIES = v4l1compat.la
>  
>  install-exec-hook:
> -	$(MKDIR_P) $(DESTDIR)/$(libdir)
> +	$(mkdir_p) $(DESTDIR)/$(libdir)
>  	(cd $(DESTDIR)/$(libdir) && rm -f v4l1compat.so && $(LN_S) $(libv4l1subdir)/v4l1compat.so v4l1compat.so)
>  
>  endif
> diff --git a/lib/libv4l2/Makefile.am b/lib/libv4l2/Makefile.am
> index b6f4d3b..1314a99 100644
> --- a/lib/libv4l2/Makefile.am
> +++ b/lib/libv4l2/Makefile.am
> @@ -7,7 +7,7 @@ if WITH_V4L_WRAPPERS
>  libv4l2priv_LTLIBRARIES = v4l2convert.la
>  
>  install-exec-hook:
> -	$(MKDIR_P) $(DESTDIR)/$(libdir)
> +	$(mkdir_p) $(DESTDIR)/$(libdir)
>  	(cd $(DESTDIR)/$(libdir) && rm -f v4l2convert.so && $(LN_S) $(libv4l2subdir)/v4l2convert.so v4l2convert.so)
>  
>  endif
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux