aboutsummaryrefslogtreecommitdiff
path: root/Build/mdwn2man
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-23 12:24:20 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-23 12:24:20 -0400
commit052e77469015e82ca33733388ff5740fa06312e2 (patch)
treece55376acf6e7541b9f66263142fa576d417446a /Build/mdwn2man
parentf622aa1dcb9f95274df584ab4c2f2199dbd94c54 (diff)
switch to pattern target to build mans
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 aadb13cdf..dce8da7ec 100755
--- a/Build/mdwn2man
+++ b/Build/mdwn2man
@@ -2,6 +2,7 @@
# Warning: hack
my $prog=shift;
+$prog=~s/\.\d+$//;
my $section=shift;
print ".TH $prog $section\n";