This was because Mr. Nazarbayev , hours before meeting Mr. Putin on Friday , signed a contract with President Ilham H. Aliyev of Azerbaijan to join what has regularly often been called `` the project of the century '' a 1,768-kilometer oil pipeline linking Baku , Tbilisi in Georgia , and Ceyhan on Turkey 's Mediterranean coast .