summaryrefslogtreecommitdiff
path: root/docutil
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2007-09-07 14:13:42 -0600
committerLaMont Jones <lamont@debian.org>2007-09-07 14:13:42 -0600
commitb62706a673dc58ca390b47342036e3f3206a14bc (patch)
tree55df184668ce3b1ca9af85d3aab09e6470634a88 /docutil
parent4dd5eedee98c3fc2f40a45078bc7006cd5efd7f0 (diff)
downloadbind9-b62706a673dc58ca390b47342036e3f3206a14bc.tar.gz
9.2.0a2
Diffstat (limited to 'docutil')
-rw-r--r--docutil/HTML_COPYRIGHT16
-rw-r--r--docutil/MAN_COPYRIGHT16
-rw-r--r--docutil/docbook2man-wrapper.sh.in40
3 files changed, 72 insertions, 0 deletions
diff --git a/docutil/HTML_COPYRIGHT b/docutil/HTML_COPYRIGHT
new file mode 100644
index 00000000..e610f542
--- /dev/null
+++ b/docutil/HTML_COPYRIGHT
@@ -0,0 +1,16 @@
+<!--
+ - Copyright (C) 2000, 2001 Internet Software Consortium.
+ -
+ - Permission to use, copy, modify, and distribute this software for any
+ - purpose with or without fee is hereby granted, provided that the above
+ - copyright notice and this permission notice appear in all copies.
+ -
+ - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
+ - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+ - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
+ - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+ - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+ - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+-->
diff --git a/docutil/MAN_COPYRIGHT b/docutil/MAN_COPYRIGHT
new file mode 100644
index 00000000..a2f01431
--- /dev/null
+++ b/docutil/MAN_COPYRIGHT
@@ -0,0 +1,16 @@
+.\"
+.\" Copyright (C) 2000, 2001 Internet Software Consortium.
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
+.\" DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
+.\" INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
diff --git a/docutil/docbook2man-wrapper.sh.in b/docutil/docbook2man-wrapper.sh.in
new file mode 100644
index 00000000..60d1638f
--- /dev/null
+++ b/docutil/docbook2man-wrapper.sh.in
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# Copyright (C) 2001 Internet Software Consortium.
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
+# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
+# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+# $Id: docbook2man-wrapper.sh.in,v 1.2 2001/06/11 19:02:01 gson Exp $
+
+case $# in
+ 3) ;;
+ *) echo "$0: wrong number of arguments" >&2; exit 1 ;;
+esac
+
+top_srcdir=$1
+source=$2
+target=$3
+
+ONSGMLS=onsgmls
+SGMLSPL=sgmlspl
+SGMLCATALOG=@SGMLCATALOG@
+DOCBOOK2MANSPEC=@DOCBOOK2MANSPEC@
+
+${ONSGMLS} -c ${SGMLCATALOG} $source | ${SGMLSPL} ${DOCBOOK2MANSPEC}
+rm -f $target.tmp
+grep -v 'auto-generated by docbook2man' $target > $target.tmp
+rm -f $target
+cat ${top_srcdir}/docutil/MAN_COPYRIGHT > $target
+cat $target.tmp >> $target
+rm -f manpage.* $target.tmp