cmark

My personal build of CMark ✏️

Commit
398444369a91510a0766d2835c089291dc05d187
Parent
d0571571f1f20343622214e6e919e509c43a93b9
Author
John MacFarlane <jgm@berkeley.edu>
Date

Set proper name and section in man page.

Diffstat

2 files changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified man/make_man_page.py 2 1 1
Modified man/man3/cmark.3 2 1 1
diff --git a/man/make_man_page.py b/man/make_man_page.py
@@ -88,5 +88,5 @@ with open(sourcefile, 'r') as cmarkh:
             mdlines.append('\n')
 
 sys.stdout.write('.Dd ' + date.today().isoformat() + '\n')
-sys.stdout.write('.Dt ' + os.path.basename(sourcefile) + '\n')
+sys.stdout.write('.Dt ' + os.path.basename(sourcefile).replace('.h','') + ' 3\n')
 sys.stdout.write(''.join(mdlines))
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
@@ -1,5 +1,5 @@
 .Dd 2014-11-30
-.Dt cmark.h
+.Dt cmark 3
 .Sh NAME
 
 .Nm cmark