cups: Fix splitting, use auto-deps