diff options
Diffstat (limited to 'tex.mk')
-rw-r--r-- | tex.mk | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -16,13 +16,14 @@ pdf_tex: $(pdf_from_independent_tex) pdf_tex_dest_targets = $(pdf_from_independent_tex:%=$(dest_dir_tex)/%) -tex_dest_targets = $(tex_independent:%=$(dest_dir_tex)/%) +tex_dest_targets_raw = $(tex_independent:%=$(dest_dir_tex)/%) ifneq ($(strip $(tex_includes)),) -tex_dest_targets += $(tex_includes:%=$(dest_dir_tex)/%) +tex_dest_targets_raw += $(tex_includes:%=$(dest_dir_tex)/%) endif ifneq ($(strip $(tex_fig_files)),) -tex_dest_targets += $(tex_fig_files:%=$(dest_dir_tex)/%) +tex_dest_targets_raw += $(tex_fig_files:%=$(dest_dir_tex)/%) endif +tex_dest_targets = $(sort $(tex_dest_targets_raw)) # rubber does not deal with nicely with subfiles # thus force switch below |