<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. &nbsp;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. &nbsp;Why is it<br>'dist_man1_MANS' rather than just 'man1_MANS'? &nbsp;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. &nbsp;The commit message was "Include man pages in tarball created with 'dist' target." &nbsp;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>&nbsp;I'd try the following changes, in this<br>order until things work correctly:<br>&nbsp;a) s/dist_man1_MANS/man1_MANS/<br>&nbsp;b) move man1_MANS outside of the conditional block.<br>&nbsp;&nbsp;&nbsp;&nbsp;E.g. conditionally define $(cgm2moabman) and then unconditionally<br>&nbsp;&nbsp;&nbsp;&nbsp;define: man1_MANS = $(cgm2moabman)</div></blockquote><br></div><div>Neither of these solutions work. &nbsp;I tried moving the dist_man1_MANS line outside the conditional block. &nbsp;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. &nbsp;That's probably not what we want either. &nbsp;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. &nbsp;Is there any need for the cgm2moab program at all? &nbsp;Even if there is, the man page doesn't contain much more than the output of cgm2moab -h. &nbsp;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>