I once did this with a Frankenpolaroid -- put tracing paper in a polaroid holder in the film plane and insert into camera, put camera on tripod, open shutter on "B" (I'd replaced the original lens). At some distance, put a bright point source light -- I used a small single-filament bulb flashlight, these days you could use a bright single LED light. Measure the distance from the film plane to the light, focus on the tracing paper (easiest if all other lights are off), then mark your scale. In my case, I also had to check infinity in daylight on a distant object because by swapping the lens it was possible the camera would focus past infinity.