From f2d60c16eacb538566e4f750f3476b2ef3b3e2ec Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 11 Sep 2020 10:18:02 +0200 Subject: [PATCH] makefiles: Add separate variable to keep track of source dir font files. Signed-off-by: Alexandre Julliard --- tools/makedep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/makedep.c b/tools/makedep.c index e675b800a82..e819cbb9499 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -217,6 +217,7 @@ struct makefile struct strarray crossobj_files; struct strarray unixobj_files; struct strarray res_files; + struct strarray font_files; struct strarray c2man_files; struct strarray debug_files; struct strarray dlldata_files; @@ -2935,7 +2936,7 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source, output( "%s: %s\n", ttf_file, source->filename ); output( "\t%s -script %s %s $@\n", fontforge, top_src_dir_path( make, "fonts/genttf.ff" ), source->filename ); - if (!(source->file->flags & FLAG_SFD_FONTS)) output( "all: %s\n", ttf_file ); + if (!(source->file->flags & FLAG_SFD_FONTS)) strarray_add( &make->font_files, ttf_obj ); } if (source->file->flags & FLAG_INSTALL) { @@ -3982,6 +3983,7 @@ static void output_sources( struct makefile *make ) { output( "%s:", obj_dir_path( make, "all" )); output_filenames_obj_dir( make, make->all_targets ); + output_filenames_obj_dir( make, make->font_files ); output( "\n" ); strarray_add_uniq( &make->phony_targets, obj_dir_path( make, "all" )); }