aboutsummaryrefslogtreecommitdiff
path: root/doc/pod2man.pl
diff options
context:
space:
mode:
authorGuillermo Ramos2019-06-27 17:38:11 +0200
committerGuillermo Ramos2019-06-27 17:39:05 +0200
commit351f3b01ab536c9084ead0ffc4f5cb5671a52e52 (patch)
tree48fb844786ee867fd23b808136ac89912daf2eab /doc/pod2man.pl
parentdff42d1af224961e42355919e24ae36ebf058439 (diff)
downloadtgutils-351f3b01ab536c9084ead0ffc4f5cb5671a52e52.tar.gz
Makefile: "make doc" to generate man pagesHEADmaster
Diffstat (limited to 'doc/pod2man.pl')
-rwxr-xr-xdoc/pod2man.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/pod2man.pl b/doc/pod2man.pl
new file mode 100755
index 0000000..f95f94b
--- /dev/null
+++ b/doc/pod2man.pl
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+use Pod::Man;
+
+Pod::Man->new(release => 1, section => 1)->parse_from_file(@ARGV[0 .. 1]);