# https://tex.stackexchange.com/questions/1226/how-to-make-latexmk-use-makeglossaries add_cus_dep('glo', 'gls', 0, 'makeglo2gls'); add_cus_dep('acn', 'acr', 0, 'makeglo2gls'); sub makeglo2gls { system("makeglossaries $_[0]"); }