From: Adam Dickmeiss Date: Tue, 23 May 2006 19:08:45 +0000 (+0000) Subject: Docbook to man script wrapper. X-Git-Tag: YAZ.2.1.20~6 X-Git-Url: http://git.indexdata.com/?p=id-docbook-common-moved-to-github.git;a=commitdiff_plain;h=610f2413be2d8a98767762023dfa9c0c183002c0 Docbook to man script wrapper. --- 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