Menu

#2 Missing DGR executable man pages

1.0
closed
None
2023-04-11
2023-01-31
No

Make does not generate the man pages for the two executables in dgr/doc/pod1, the lib man page on pod3 gets created

Discussion

  • Scott Johnson

    Scott Johnson - 2023-01-31

    At Makefile.am line 847, section 'dgrextra' add
    dgr/doc/pod1/dgr2file.pod \
    and
    dgr/doc/pod1/file2dgr.pod \

    In subsequent section 'dgrmans' add
    ($top_builddir)/dgr/doc/dgr2file.1 \
    and
    ($top_builddir)/dgr/doc/file2dgr.1 \

    Also in the dgrmans section,

    $(top_builddir)/dgr/doc/%.1: dgr/doc/pod1/%.pod
    $(dgrPODM1) $< $@f

    should read:
    $(top_builddir)/dgr/doc/%.1: dgr/doc/pod1/%.pod
    $(dgrPODM1) $< $@

      without the trailing "f" after the $@
    

    These edits should resolve generation of these man pages correctly.

     
    • Jorge Amodio

      Jorge Amodio - 2023-02-01

      I believe you have some misplaced parenthesis, one of the sections should be ...
      dgrmans = \
      $(top_builddir)/dgr/doc/dgr2file.1 \
      $(top_builddir)/dgr/doc/file2dgr.1 \
      $(top_builddir)/dgr/doc/dgr.3

      I will test the fixes and share the corrected Makefile.am, ScottB can decide if you fix the tar for 1.0.0 or hold for 1.0.1 to incorporate the fixes

       
  • Scott Johnson

    Scott Johnson - 2023-04-11

    Solved, closing ticket.

     
  • Scott Johnson

    Scott Johnson - 2023-04-11
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB