run makeinfo from the directory containing input

fixes #1097