script files have paths (for bin programs used inside) now written into by automake
We use $prefix@ and alikes to put the correct path into it. Though, it's a bit of a pain as @bindir@ is not replaced with an absolute path but with ${exec_prefix}/bindir, which is not helping very much ... (exec_prefix=@prefix@ then helps)