!config # Arara, the cool TeX automation tool # Copyright (c) 2023, Island of TeX # All rights reserved. # # This rule is part of arara. identifier: tikzmake name: TikZmake authors: - Robbie Smith - Island of TeX commands: - name: TikZ list-and-make engine command: > @{ makefile = getBasename(reference.fileName).concat('.makefile'); return getCommand('make', force, jobs, options, '-f', makefile); } arguments: - identifier: force flag: > @{ isTrue(parameters.force, '--always-make') } - identifier: jobs flag: > @{ return '-j'.concat(parameters.jobs) } - identifier: options flag: > @{ if (isList(parameters.options)) { return parameters.options; } else { throwError('I was expecting a list of options.'); } }