[LTP] [PATCH v2 7/7] docparse: Split into metadata and docparse

Cyril Hrubis chrubis@suse.cz
Wed Nov 3 12:39:57 CET 2021


Hi!
> Also looking at the Makefile it may not work with out-of-tree build, so
> we may need this as well:
> 
> diff --git a/metadata/Makefile b/metadata/Makefile
> index 76a3aed94..9b88d8302 100644
> --- a/metadata/Makefile
> +++ b/metadata/Makefile
> @@ -17,10 +17,10 @@ ltp.json: metaparse
> 
>  docparse: ltp.json
>  ifeq ($(WITH_METADATA),yes)
> -       $(MAKE) -C ../docparse/
> +       $(MAKE) -C $(top_srcdir)/docparse/
>  endif
> 
>  test:
> -       $(MAKE) -C tests/ test
> +       $(MAKE) -C $(abs_srcdir)/tests/ test
> 
>  include $(top_srcdir)/include/mk/generic_leaf_target.mk

And it's more complex than this, I guess that I will fix the out-of-tree
build send send another version of the patchset.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list