SetDirectory["C:\\drorbn\\AcademicPensieve\\Projects\\ExQu"]

Make

Make::usage = "Make[targets, sources, Hold[action]] makes a target, or a list of targets, given sources, or a list of sources, in the style of the unix 'make' command.";
Make[target_String, sources_, action_Hold] := Make[Evaluate@{target}, sources, action];
Make[targets_, source_String, action__Hold] := Make[targets, Evaluate@{source}, action];
Make[targets_List, sources_List, action_Hold] := Module[{},
If[
(And @@ ((FileType[#] =!= None)& /@ sources)) &&
Or[
Or @@ ((FileType[#]===None)& /@ targets),
Min[AbsoluteTime[FileDate[#]]& /@ targets] < Max[AbsoluteTime[FileDate[#]]& /@ sources]
],
Print["Making ",targets, " ..."];
ReleaseHold[action]
]
];

WordCloud

sources={"ExQu.tex", "abstract.tex", "table.tex", "soft.tex", "dbd.tex", "specific.tex", "harder.tex", "beyond.tex"};
target="WordCloud.png";

MakeWC[] := Module[{words,dict},
words=Flatten[TextWords[ReadString[#]]& /@ sources];
dict=Complement[DeleteStopwords[DictionaryLookup[]], {"begin", "end","left","right","equation","em"}];
words =Select[words, MemberQ[dict,#]&];
WordCloud[words, ImageSize->400]
]

MakeWC[]

Make[target, Join[sources,{"index.nb"}], Hold[Export[target, MakeWC[]]]]

Output

{
"TitleNotes" -> StringJoin["<div style=\"clear: right; float: right; padding: 8px; width: 400px;\"><img width=400px src=WordCloud.png></div>\nThis is the construction page for my paper <b>Expansions and Quadraticity for Groups</b> (<a href=ExQu.pdf>PDF here</a>). <p><b>Abstract.</b> ",
Import["abstract.txt"],
"\n<p>"
]
}