Signed-off-by: Ciprian Barbu <[email protected]> --- This affects primarily odp-netmap but the assumption that there are API files in platform/XXX/include/api is wrong to begin with.
aminclude.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aminclude.am b/aminclude.am index a8ce032..92902be 100644 --- a/aminclude.am +++ b/aminclude.am @@ -146,11 +146,13 @@ doxygen-html: @DX_DOCDIR@/@[email protected] doxygen-doc: doxygen-html $(DX_PS_GOAL) $(DX_PDF_GOAL) +PLATFORM_API = ${srcdir}/platform/${with_platform}/include/api + @DX_DOCDIR@/@[email protected]: $(DX_CONFIG) $(pkginclude_HEADERS) rm -rf @DX_DOCDIR@ @mkdir -p @DX_DOCDIR@/api_headers @cp ${srcdir}/platform/linux-generic/include/api/odp_*.h @DX_DOCDIR@/api_headers - @cp ${srcdir}/platform/${with_platform}/include/api/odp_*.h @DX_DOCDIR@/api_headers + @if find ${PLATFORM_API} -type f -name '*.h' 2> /dev/null; then cp ${PLATFORM_API}/odp_*.h @DX_DOCDIR@/api_headers; fi $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG) @rm -rf @DX_DOCDIR@/api_headers -- 1.8.3.2 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
