Lebanon and Syria have signed a historic agreement on border demarcation, aiming to ease tensions and enhance bilateral cooperation.