[PATCH libX11 1/2] nls/Makefile.am: Remove unneeded $(srcdir)

Gaetan Nadon memsize at videotron.ca
Tue Jan 15 17:02:18 PST 2013


On 13-01-15 04:07 PM, Quentin Glidic wrote:
> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
> ---
>  nls/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/nls/Makefile.am b/nls/Makefile.am
> index 0eced4c..bef2d2b 100644
> --- a/nls/Makefile.am
> +++ b/nls/Makefile.am
> @@ -38,7 +38,7 @@ locale.dir: locale.dir.pre
>  
>  if HAVE_PERL
>  TESTS_ENVIRONMENT = $(PERL)
> -TESTS = $(srcdir)/compose-check.pl
> +TESTS = compose-check.pl
>  endif HAVE_PERL
>  
>  

Works with Automake 1.11. The "check" script code tests for the presence
of the perl script and appends srcdir if needed. Only when we run a
script manually in the makefile do we need to specify srcdir to support
out-of-source build tree.

Reviewed-by: Gaetan Nadon<memsize at videotron.ca>


More information about the xorg-devel mailing list