From f87b711746ff1ab4f831c22d471a1fa9f63c76e1 Mon Sep 17 00:00:00 2001 From: Nikhil Ramakrishnan Date: Sun, 26 Aug 2018 17:46:25 +0530 Subject: [PATCH] * 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 --- ChangeLog | 13 +++++++++++++ configure | 2 ++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 41caf8b74..63bb5dd65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2018-08-26 Nikhil Ramakrishnan + + * 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 * src/pshint/pshalgo.c (psh_hint_overlap): Fix numeric overflow. diff --git a/configure b/configure index f9d218667..62dcce54b 100755 --- a/configure +++ b/configure @@ -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'"