git clean -xdf && ./bootstrap && mkdir doctest && cd doctest &&
../configure --enable-user-guides && make -C doc

If you do this the doc will not have the images linked correctly, open the
html to see this
odp/doctest/doc/output/users-guide.html

Currently the images get generated and stay in the image directory with the
html pointing at them with ../images/<image-name>

What do you think about making the html and the images both get installed
in the output directory ?


On 2 December 2015 at 09:15, Nicolas Morey-Chaisemartin <nmo...@kalray.eu>
wrote:

> Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu>

---
>  doc/implementers-guide/Makefile.am | 4 ++--
>  doc/users-guide/Makefile.am        | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/doc/implementers-guide/Makefile.am
> b/doc/implementers-guide/Makefile.am
> index d653968..591e9d6 100644
> --- a/doc/implementers-guide/Makefile.am
> +++ b/doc/implementers-guide/Makefile.am
> @@ -1,11 +1,11 @@
> -TARGET = $(top_srcdir)/doc/output/implementers-guide.html
> +TARGET = $(top_builddir)/doc/output/implementers-guide.html
>
>  EXTRA_DIST = implementers-guide.adoc
>
>  all-local: $(TARGET)
>
>  $(TARGET): implementers-guide.adoc
> -       @mkdir -p $(top_srcdir)/doc/output
> +       @mkdir -p $(top_builddir)/doc/output
>         asciidoc -b html5  -a icons -a toc2  -a max-width=55em
> --out-file=$@ $<
>
>  clean-local:
> diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am
> index 8e60312..700e03f 100644
> --- a/doc/users-guide/Makefile.am
> +++ b/doc/users-guide/Makefile.am
> @@ -1,11 +1,11 @@
> -TARGET = $(top_srcdir)/doc/output/users-guide.html
> +TARGET = $(top_builddir)/doc/output/users-guide.html
>
>  EXTRA_DIST = users-guide.adoc
>
>  all-local: $(TARGET)
>
>  $(TARGET): users-guide.adoc
> -       @mkdir -p $(top_srcdir)/doc/output
> +       @mkdir -p $(top_builddir)/doc/output
>         asciidoc -b html5  -a icons -a toc2  -a max-width=55em
> --out-file=$@ $<
>
>  clean-local:
> --
> 2.6.3.372.gcb93895
>
>


-- 
Mike Holmes
Technical Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to