<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>(Jason's getting this message twice because I forgot to send it to the list last time. Sorry!)</div><div><br></div><div>On Feb 25, 2010, at 11:25 , Jason Kraftcheck wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>The handling of the man page in the Makefile.am looks strange. Why is it<br>'dist_man1_MANS' rather than just 'man1_MANS'? I don't even know what<br>'dist_man1_MANS' is supposed to do.</div></blockquote><div><br></div><div>The line in question reads: 'dist_man1_MANS = cgm2moab.man'</div><div><br></div><div>This line was added to MOAB by jakraft (==Jason?) in 2006. The commit message was "Include man pages in tarball created with 'dist' target." So it seems to be trying to do the right thing, but because the line has since been moved into the 'if HAVE_CGM block,' I guess it doesn't always trigger when a dist tarball is being made.</div><div><br></div><blockquote type="cite"><div> I'd try the following changes, in this<br>order until things work correctly:<br> a) s/dist_man1_MANS/man1_MANS/<br> b) move man1_MANS outside of the conditional block.<br> E.g. conditionally define $(cgm2moabman) and then unconditionally<br> define: man1_MANS = $(cgm2moabman)</div></blockquote><br></div><div>Neither of these solutions work. I tried moving the dist_man1_MANS line outside the conditional block. That does work, but it means that cgm2moab.1 gets installed under share/man/man1 even if cgm is disabled and cgm2moab itself does not exist. That's probably not what we want either. So we might have to fall back on your third suggestion.</div><div><br></div><div>On the other hand, now that MOAB has a ReadCGM module, CGM files can be processed with mbconvert. Is there any need for the cgm2moab program at all? Even if there is, the man page doesn't contain much more than the output of cgm2moab -h. Perhaps the best solution to this (admittedly minor) issue would be to remove cgm2moab's man page, or (if no one needs it any more) remove cgm2moab altogether.</div><div>~S</div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>