From 610f2413be2d8a98767762023dfa9c0c183002c0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 23 May 2006 19:08:45 +0000 Subject: [PATCH] Docbook to man script wrapper. --- Makefile.am | 5 +++-- docbook-to-man.sh | 3 +++ docbook2man.sh | 8 ++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100755 docbook-to-man.sh create mode 100755 docbook2man.sh diff --git a/Makefile.am b/Makefile.am index 708353a..a2e76bb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.8 2006-04-23 19:07:45 adam Exp $ +## $Id: Makefile.am,v 1.9 2006-05-23 19:08:45 adam Exp $ commondir=$(datadir)/doc/@PACKAGE@/common @@ -12,7 +12,8 @@ SUPPORTFILES = \ html.dsl html.dsl.in \ html.xsl html.xsl.in \ tkl.xsl tkl.xsl.in \ - print.dsl print.dsl.in + print.dsl print.dsl.in \ + docbook2man.sh docbook-to-man.sh EXTRA_DIST = $(SUPPORTFILES) $(common_DATA) README diff --git a/docbook-to-man.sh b/docbook-to-man.sh new file mode 100755 index 0000000..a86e046 --- /dev/null +++ b/docbook-to-man.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# $Id: docbook-to-man.sh,v 1.1 2006-05-23 19:08:46 adam Exp $ +exec docbook-to-man $1 >$2 diff --git a/docbook2man.sh b/docbook2man.sh new file mode 100755 index 0000000..0c1eb06 --- /dev/null +++ b/docbook2man.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# $Id: docbook2man.sh,v 1.1 2006-05-23 19:08:46 adam Exp $ +if test $2; then + exec docbook2man $1 +else + echo "No second arg for docbook2man.sh" + exit 1 +fi -- 1.7.10.4