Alexandre Julliard : makefiles: Fix the source path for ttf font installs.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 30 08:22:25 CDT 2015


Module: wine
Branch: master
Commit: a748b7bc47345f9fd3b10377da6817c3e6e29fe2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a748b7bc47345f9fd3b10377da6817c3e6e29fe2

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct 30 14:57:45 2015 +0900

makefiles: Fix the source path for ttf font installs.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/makedep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/makedep.c b/tools/makedep.c
index 2c2a97d..7af3bc9 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -2057,7 +2057,7 @@ static struct strarray output_sources( struct makefile *make, struct strarray *t
             }
             if (source->file->flags & FLAG_INSTALL)
             {
-                strarray_add( &make->install_lib_rules, ttf_file );
+                strarray_add( &make->install_lib_rules, strmake( "%s.ttf", obj ));
                 strarray_add( &make->install_lib_rules, strmake( "D$(fontdir)/%s.ttf", obj ));
             }
             if (source->file->flags & FLAG_SFD_FONTS)




More information about the wine-cvs mailing list