mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
MIT License
787 stars 146 forks source link

Add man page for md2html program #85

Closed craigbarnes closed 5 years ago

codecov[bot] commented 5 years ago

Codecov Report

Merging #85 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #85   +/-   ##
=======================================
  Coverage   93.99%   93.99%           
=======================================
  Files           1        1           
  Lines        2629     2629           
=======================================
  Hits         2471     2471           
  Misses        158      158

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 410bb41...d8186ce. Read the comment docs.

mity commented 5 years ago

That's awesome. Thank you.

Could you please also add something into md2html/CMakeLists.txt to enable installing it? Would be better to merge it together as one changeset.

I suppose something like

install(FILES "md2html.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")

should work.

craigbarnes commented 5 years ago

Updated md2html/CMakeLists.txt with the exact command you suggested. I've tested it with make install DESTDIR=tmp and it seems to work as intended.

mity commented 5 years ago

Merged. Thank you once more again.