con tal de

as long as; just to

→ con
phrase Rare #41,658
as long as; just to With an infinitive, it can mean “just to” or “in order to”. Before “que”, it means “as long as” or “provided that” and is followed by the subjunctive.
SP: Con tal de que llegues a tiempo, podemos ir en coche.
EN: As long as you arrive on time, we can go by car.

Con tal de mantenerse en el poder, hacen cualquier cosa.

They’ll do anything to stay in power.

Con tal de salvar a Pepe.

Just as long as Pepe is saved.

— Nosotros los pobres (1948)

No me importa, con tal de que seas feliz.

I don't mind, as long as you're happy.

Con tal de que llegue hasta el valle.

As long as it reaches the valley.

— Guerreros del viento (1984)

Cómo escriben lo que sea con tal de vender.

They’ll write anything just to make a sale.

— Perdición (1944)