[libbluray-devel] build: make example build as EXTRA_PROGRAMS instead of noinst_PROGRAMS

Petri Hintukainen phintuka at users.sourceforge.net
Tue Feb 19 15:55:45 CET 2013


"make install" does not install bd_info after this

On pe, 2013-02-15 at 04:07 +0100, Diego Elio Pettenò wrote:
> libbluray | branch: flameeyes | Diego Elio Pettenò <flameeyes at flameeyes.eu> | Thu Feb 14 18:36:24 2013 -0800| [8d2cd38eb07f91e6607252e21b370538e7d986b0] | committer: Diego Elio Pettenò
> 
> build: make example build as EXTRA_PROGRAMS instead of noinst_PROGRAMS
> 
> > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=8d2cd38eb07f91e6607252e21b370538e7d986b0
> ---
> 
>  src/examples/Makefile.am |   11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)
> 
> diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
> index a4cebe2..9057187 100644
> --- a/src/examples/Makefile.am
> +++ b/src/examples/Makefile.am
> @@ -3,11 +3,8 @@ SET_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/file -I$(
>  
>  AM_CFLAGS = $(SET_FEATURES) $(SET_INCLUDES)
>  
> -if USING_EXAMPLES
> -
> -noinst_PROGRAMS=bdsplice mpls_dump clpi_dump index_dump mobj_dump sound_dump \
> -    libbluray_test list_titles hdmv_test
> -bin_PROGRAMS=bd_info
> +EXTRA_PROGRAMS=bdsplice mpls_dump clpi_dump index_dump mobj_dump sound_dump \
> +    libbluray_test list_titles hdmv_test bd_info
>  
>  BLURAY_LIB = $(top_builddir)/src/libbluray.la
>  
> @@ -83,9 +80,7 @@ bd_info_SOURCES = \
>  bd_info_LDADD = $(BLURAY_LIB)
>  
>  if USING_BDJAVA
> -noinst_PROGRAMS+= bdj_test
> +EXTRA_PROGRAMS+= bdj_test
>  bdj_test_SOURCES = bdj_test.c
>  bdj_test_LDADD = $(BLURAY_LIB)
>  endif
> -
> -endif
> 
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> http://mailman.videolan.org/listinfo/libbluray-devel




More information about the libbluray-devel mailing list