shithub: freetype+ttf2subf

Download patch

ref: f87b711746ff1ab4f831c22d471a1fa9f63c76e1
parent: 13034e54aac631f5ca8b2dd27a64e5ac5c5f6fbc
author: Nikhil Ramakrishnan <[email protected]>
date: Sun Aug 26 13:46:25 EDT 2018

* 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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2018-08-26  Nikhil Ramakrishnan  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* src/pshint/pshalgo.c (psh_hint_overlap): Fix numeric overflow.
--- a/configure
+++ b/configure
@@ -96,6 +96,8 @@
 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'"