I use makeindex routinely for a German book. A new latex package sanitize-umlaut allows now to write index terms without umlaute for example \index{Östrogene} instead of \index{Oestrogene@{Östrogene}}. To make it work properly one hat to use
makeindex -s german -g book
I would like to pass this parameters to latexmk. I do not see how to do this. The makeindex command is usually
makeindex book
I looked through latexmk questions but did not find an appropriate one.
alt-german.rc
, in it add$makeindex = 'makeindex -s german -g book';
, then calllatexmk
vialatexmk -r alt-german.rc ....