Run a zigzag stitch along the cut edges of the awning fabric. This prevents the fabric from raveling.
Spread the fabric out on a flat surface.
Fold the edge over 1/2 inch. Iron the fold, using the appropriate setting for your particular fabric.
Fold the edge again, forming a pocket large enough for the rod or dowel. Press it flat with the iron.
Pin along the folded pocket, with the pins perpendicular to the edge.
Stitch the folded fabric in place, keeping the seam 1/8 of an inch from the pocket's inner edge. Remove the pins as you sew; avoid sewing over pins.
Keep the needle in the fabric at the end of the seam. Lift the pressure foot and turn the awning 90 degrees. Lower the pressure foot and take one stitch. Turn the fabric again and sew a second seam parallel to the first. Stitching a double seam adds strength to the rod pocket.