unfortunately dist-hook only works if directly visible for automake