[PATCH 11/12] manual pages

Geert Stappers <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
From: Geert Stappers <[email protected]>

---
 .gitignore                  |    2 ++
 manual/Makefile             |   21 +++++++++++++++++++++
 manual/README               |   18 ++++++++++++++++++
 manual/polystrap-binfmt.txt |   24 ++++++++++++++++++++++++
 manual/polystrap-nb.txt     |   24 ++++++++++++++++++++++++
 manual/polystrap.txt        |   24 ++++++++++++++++++++++++
 6 files changed, 113 insertions(+), 0 deletions(-)
 create mode 100644 manual/Makefile
 create mode 100644 manual/README
 create mode 100644 manual/polystrap-binfmt.txt
 create mode 100644 manual/polystrap-nb.txt
 create mode 100644 manual/polystrap.txt

diff --git a/.gitignore b/.gitignore
index a01ee28..858ed54 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
+manual/*.1
+manual/*.8
 .*.swp
diff --git a/manual/Makefile b/manual/Makefile
new file mode 100644
index 0000000..db21f3d
--- /dev/null
+++ b/manual/Makefile
@@ -0,0 +1,21 @@
+#
+GENERATE_MANUAL_PAGE = \
+	asciidoc --backend=docbook --doctype=manpage $< ; \
+	xmlto man $$BN.xml ; \
+	rm $$BN.xml
+
+all: \
+	polystrap.1 \
+	polystrap-nb.1 \
+	polystrap-binfmt.8
+
+polystrap.1: polystrap.txt
+	export BN=$(shell basename $< .txt ) ; $(GENERATE_MANUAL_PAGE)
+
+polystrap-nb.1: polystrap-nb.txt
+	export BN=$(shell basename $< .txt ) ; $(GENERATE_MANUAL_PAGE)
+
+polystrap-binfmt.8: polystrap-binfmt.txt
+	export BN=$(shell basename $< .txt ) ; $(GENERATE_MANUAL_PAGE)
+
+.phony: all
diff --git a/manual/README b/manual/README
new file mode 100644
index 0000000..24aeb18
--- /dev/null
+++ b/manual/README
@@ -0,0 +1,18 @@
+
+For rebuilding the manual pages, you need
+
+* asciidoc
+* xmlto
+
+The manual page rebuild is not part of the regular build.
+
+The package is shipped with generated manual pages
+
+So before a
+ make dist
+needs a
+ cd manual
+ make
+be done
+
+# l l
diff --git a/manual/polystrap-binfmt.txt b/manual/polystrap-binfmt.txt
new file mode 100644
index 0000000..88ae92b
--- /dev/null
+++ b/manual/polystrap-binfmt.txt
@@ -0,0 +1,24 @@
+
+POLYSTRAP-BINFMT(8)
+===================
+author FIXME <please@do>
+0.0, 20110629
+
+
+NAME
+----
+polystrap-binfmt - converts an AsciiDoc text file to HTML or DocBook
+
+
+SYNOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to a
+DocBook, HTML or LinuxDoc file.  If 'FILE' is '-' then the standard
+input is used.
+
+
diff --git a/manual/polystrap-nb.txt b/manual/polystrap-nb.txt
new file mode 100644
index 0000000..55a695c
--- /dev/null
+++ b/manual/polystrap-nb.txt
@@ -0,0 +1,24 @@
+
+POLYSTRAP-NB(1)
+===============
+author FIXME <please@do>
+0.0, 20110629
+
+
+NAME
+----
+polystrap-nb - converts an AsciiDoc text file to HTML or DocBook
+
+
+SYNOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to a
+DocBook, HTML or LinuxDoc file.  If 'FILE' is '-' then the standard
+input is used.
+
+
diff --git a/manual/polystrap.txt b/manual/polystrap.txt
new file mode 100644
index 0000000..1cdba0b
--- /dev/null
+++ b/manual/polystrap.txt
@@ -0,0 +1,24 @@
+
+POLYSTRAP(1)
+============
+author FIXME <please@do>
+0.0, 20110629
+
+
+NAME
+----
+polystrap - converts an AsciiDoc text file to HTML or DocBook
+
+
+SYNOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to a
+DocBook, HTML or LinuxDoc file.  If 'FILE' is '-' then the standard
+input is used.
+
+
-- 
1.7.2.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.