The variant developed on a Windows system didn't work on a Archlinux system. Now the Makefile creates a file 'revision.tex' which the main latex file inputs as revision number. Hopefully this will do the trick on both systems.