* configure: Copy assets required by docwriter.

Copy directory `docs/reference/markdown' when FreeType is compiled in a
different directory.

Fixes `make refdoc' if builddir != srcdir.

Reported as

  http://lists.nongnu.org/archive/html/freetype-devel/2018-08/msg00083.html
This commit is contained in:
Nikhil Ramakrishnan 2018-08-26 17:46:25 +05:30
parent 13034e54aa
commit f87b711746
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,16 @@
2018-08-26 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
* configure: Copy assets required by docwriter.
Copy directory `docs/reference/markdown' when FreeType is compiled in a
different directory.
Fixes `make refdoc' if builddir != srcdir.
Reported as
http://lists.nongnu.org/archive/html/freetype-devel/2018-08/msg00083.html
2018-08-26 Werner Lemberg <wl@gnu.org>
* src/pshint/pshalgo.c (psh_hint_overlap): Fix numeric overflow.

2
configure vendored
View File

@ -96,6 +96,8 @@ inode_dst=`ls -id $abs_curr_dir | awk '{print $1}'`
if test $inode_src -ne $inode_dst; then
if test ! -d reference; then
mkdir reference
echo "Copying documentation assets"
cp -R $abs_ft2_dir/docs/reference/markdown $abs_curr_dir/reference
fi
if test ! -r $abs_curr_dir/modules.cfg; then
echo "Copying \`modules.cfg'"