Depends on whether you have a gantry to use as a gauge? I had built the structure of my gantry in advance for this purpose, so I bolted down one rail along the box section centre line, placed the second rail on its box section, and attached the carriages to use to align the rails. I think, in essence, you are doing the same thing but you will then pick off the rail spacing dimension to finalise the gantry. Hiwin recommend aligning the rail against a machined step but where this is not possible you align the second rail from the first. My only reservation is how you guarantee the straightness of the first rail but I think you can finally adjust this by test cutting. I hope so, anyway!