Setting up a stand on the top of a mountain, you rake all the rocks to the edge of it. You want to clear the area around your stand, so you get your rake out and you rake all the stones and debris away from the stand and toward the edge of the mountain top. It also creates a small barrier around the edge as well.
You set up this stand at the top of the mountain so you could give a speech to the world. But you need to look your best, so you decide to get a tan (たん). You lay next to the edge of the mountain, and prepare to tan. Everyone likes a person with a healthy tan.