SetDirectory["C:\\drorbn\\AcademicPensieve\\Classes\\1617-257-AnalysisII"]

Make::usage = "Make[targets, sources, 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]
]
];

?Make

{target, source} = {"160912/Day1.png", "160912/Day1.pdf"};
Make[target, source, Hold[
DeleteFile[FileNames["temp-*.png"]];
Read["!convert -scene 1 -density 300 -background white -alpha remove "<>source<>" temp.png"];
Read["!montage -geometry +0+0 -frame 0 -background white -tile 2x1 temp-*.png "<>target];
DeleteFile[FileNames["temp-*.png"]];
]]

{target, sources} = {"160914/Day2.png", "160914/AboutCols1-2.png 160914/AboutCol3.png 160914/AboutCol4.png 160914/AboutCol5.png"};
Make[target, {"160914/Day2.pdf"}⋃StringSplit@sources, Hold[
DeleteFile[FileNames["temp*.png"]];
Read["!convert -scene 1 -density 300 -background white -alpha remove 160914/Day2.pdf temp.png"];
Read["!montage -geometry +0+0 -frame 0 -background white -tile 2x1 temp-*.png temp1.png"];
Read["!convert +append "<>sources<>" temp2.png"];
Read["!convert -append temp1.png temp2.png "<>target];
DeleteFile[FileNames["temp*.png"]];
]]

{
"TitleNotes" -> "This is my personal notebook for my 2016/17 <a href=http://drorbn.net/?title=1617-257>MAT 257 Analysis II</a> class (2016 part). <span style=\"color: red;\">Use at your own risk.</span><p>",
"CleanTeX" -> True,
"ImageComments" -> {
"JellyCube.jpg" -> "A Jelly Cube from <a class=external href=\"http://goronic.deviantart.com/art/Jelly-Cube-559481292\">http://goronic.deviantart.com/art/Jelly-Cube-559481292</a>."
}
}

{"TitleNotes"->"This is my personal notebook for my 2016/17 <a href=http://drorbn.net/?title=1617-257>MAT 257 Analysis II</a> class (2016 part). <span style=\"color: red;\">Use at your own risk.</span><p>","CleanTeX"->True}