> Ah, here should be
>
>     checking for `docwriter' Python module... no
>
> I missed that.  So the code should be something like
>
>   have_docwriter=no
>   (...)
>

Thanks, changes applied.


> > Also, is there a way to store the $PYTHON variable (python/python2/
> > python3) so that I can use it in `freetype.mk' while invoking
> > docwriter?
>
> Not directly.  The `builds/unix/configure' script creates two files,
> `unix-cc.mk' (from `unix-cc.in') and `unix-def.mk' (from
> `unix-def.in').  In those files, `@FOO@' gets replaced with `$FOO' as
> set up in `configure.ac'.[*] You can thus add a line
>
>   PYTHON := @PYTHON@
>
> to `unix-def.in' (which fits better than `unix-cc.in') to have $PYTHON
> available.  Note that you also need to define `$PYTHON' for other
> platforms; the simplest thing is probably to add the line
>
>   PYTHON ?= python
>
> at the top of `builds/detect.mk' (`?=' only sets the value if it is
> not set already, allowing it to be overridden on the command line).
>

Thanks, instead of modifying `detect.mk', I've added the line just before
target `refdoc' in `freetype.mk'.


-- 
Nikhil
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to