summaryrefslogtreecommitdiff
path: root/Build/mdwn2man
diff options
context:
space:
mode:
Diffstat (limited to 'Build/mdwn2man')
-rwxr-xr-xBuild/mdwn2man1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/mdwn2man b/Build/mdwn2man
index dce8da7ec..a29ce649e 100755
--- a/Build/mdwn2man
+++ b/Build/mdwn2man
@@ -3,6 +3,7 @@
my $prog=shift;
$prog=~s/\.\d+$//;
+$prog=~s/man\///;
my $section=shift;
print ".TH $prog $section\n";