Saint-Martin-d'Armagnac (, literally Saint-Martin of Armagnac; ) is a commune in the Gers department in southwestern France.