Docbook to man script wrapper.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 23 May 2006 19:08:45 +0000 (19:08 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 23 May 2006 19:08:45 +0000 (19:08 +0000)
Makefile.am
docbook-to-man.sh [new file with mode: 0755]
docbook2man.sh [new file with mode: 0755]

index 708353a..a2e76bb 100644 (file)
@@ -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 (executable)
index 0000000..a86e046
--- /dev/null
@@ -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 (executable)
index 0000000..0c1eb06
--- /dev/null
@@ -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