This is a reply to a similar question on a caravan forum
“Years ago I watched my father making a wooden jig to form the awning rail shape. From memory he bent plywood and fitted to a base with blocks of wood and then used that to shape the aluminium rail. I have an idea that was the way the manufacturers used to do it as well.“