[docs] Fix building docs if `srcdir' != `builddir'.
`docs/reference/*' was moved one directory up in commit 237fed6
.
* builds/unix/unix-def.in (PIP): Remove variable.
* configure: Create `docs' directory and copy assets from
`docs/markdown'.
* docs/README: Output directory is `reference'.
This commit is contained in:
parent
1fd3148713
commit
13c0df80dc
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
||||||
|
2020-03-22 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
|
||||||
|
|
||||||
|
[docs] Fix building docs if `srcdir' != `builddir'.
|
||||||
|
|
||||||
|
`docs/reference/*' was moved one directory up in commit 237fed6.
|
||||||
|
|
||||||
|
* builds/unix/unix-def.in (PIP): Remove variable.
|
||||||
|
|
||||||
|
* configure: Create `docs' directory and copy assets from
|
||||||
|
`docs/markdown'.
|
||||||
|
|
||||||
|
* docs/README: Output directory is `reference'.
|
||||||
|
|
||||||
2020-03-21 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
|
2020-03-21 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
|
||||||
|
|
||||||
[docwriter] Drop support for Python < 3.5.
|
[docwriter] Drop support for Python < 3.5.
|
||||||
|
|
|
@ -24,7 +24,6 @@ SEP := /
|
||||||
# This is used for `make refdoc' and `make refdoc-venv'
|
# This is used for `make refdoc' and `make refdoc-venv'
|
||||||
#
|
#
|
||||||
PYTHON := @PYTHON@
|
PYTHON := @PYTHON@
|
||||||
PIP := @PIP@
|
|
||||||
BIN := bin
|
BIN := bin
|
||||||
|
|
||||||
# this is used for `make distclean' and `make install'
|
# this is used for `make distclean' and `make install'
|
||||||
|
|
|
@ -94,10 +94,10 @@ inode_src=`ls -id $abs_ft2_dir | awk '{print $1}'`
|
||||||
inode_dst=`ls -id $abs_curr_dir | awk '{print $1}'`
|
inode_dst=`ls -id $abs_curr_dir | awk '{print $1}'`
|
||||||
|
|
||||||
if test $inode_src -ne $inode_dst; then
|
if test $inode_src -ne $inode_dst; then
|
||||||
if test ! -d reference; then
|
if test ! -d docs; then
|
||||||
mkdir reference
|
mkdir docs
|
||||||
echo "Copying documentation assets"
|
echo "Copying documentation assets"
|
||||||
cp -R $abs_ft2_dir/docs/reference/markdown $abs_curr_dir/reference
|
cp -R $abs_ft2_dir/docs/markdown $abs_curr_dir/docs
|
||||||
fi
|
fi
|
||||||
if test ! -r $abs_curr_dir/modules.cfg; then
|
if test ! -r $abs_curr_dir/modules.cfg; then
|
||||||
echo "Copying \`modules.cfg'"
|
echo "Copying \`modules.cfg'"
|
||||||
|
@ -107,7 +107,7 @@ if test $inode_src -ne $inode_dst; then
|
||||||
echo "TOP_DIR := $abs_ft2_dir" > Makefile
|
echo "TOP_DIR := $abs_ft2_dir" > Makefile
|
||||||
echo "OBJ_DIR := $abs_curr_dir" >> Makefile
|
echo "OBJ_DIR := $abs_curr_dir" >> Makefile
|
||||||
echo "OBJ_BUILD := \$(OBJ_DIR)" >> Makefile
|
echo "OBJ_BUILD := \$(OBJ_DIR)" >> Makefile
|
||||||
echo "DOC_DIR := \$(OBJ_DIR)/reference" >> Makefile
|
echo "DOC_DIR := \$(OBJ_DIR)/docs" >> Makefile
|
||||||
echo "FT_LIBTOOL_DIR := \$(OBJ_DIR)" >> Makefile
|
echo "FT_LIBTOOL_DIR := \$(OBJ_DIR)" >> Makefile
|
||||||
echo "ifndef FT2DEMOS" >> Makefile
|
echo "ifndef FT2DEMOS" >> Makefile
|
||||||
echo " include \$(TOP_DIR)/Makefile" >> Makefile
|
echo " include \$(TOP_DIR)/Makefile" >> Makefile
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
After saying `make refdoc' or `make refdoc-venv' the `site/' directory
|
After saying `make refdoc' or `make refdoc-venv' the `reference/' directory
|
||||||
contains the FreeType API reference. You need Python >= 3.5 and pip to make
|
contains the FreeType API reference. You need Python >= 3.5 and pip to make
|
||||||
this target.
|
this target.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue