aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manuals/Makefile
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-02-20 10:56:10 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-11-28 17:00:07 +0100
commitea6675bcc4c75d84475b15c6bd01eb57b8e765b0 (patch)
tree3df9b3da35783f12fd81c6d596ffa53e8163e3c1 /doc/manuals/Makefile
parent3f1b2a783ae38e01edfa74d13048d3e29571333b (diff)
initial checkin of manuals to public repo
The manuals existed in different form for several years in an internal sysmocom repository. However, since they had just recently been converted from docboox-xml to asciidoc and all files have been re-shuffled for enabling the public release, there's not much point in keeping the history with git-filter-branch.
Diffstat (limited to 'doc/manuals/Makefile')
-rw-r--r--doc/manuals/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/manuals/Makefile b/doc/manuals/Makefile
new file mode 100644
index 000000000..29d9c512e
--- /dev/null
+++ b/doc/manuals/Makefile
@@ -0,0 +1,41 @@
+# XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/
+# Makefile from BitBake/OpenEmbedded manuals
+
+EXTRA_DEPS = gen-nitb-vty-docbook
+
+topdir = .
+nitb_reference = $(topdir)/osmonitb-vty-reference.xml
+manuals = $(nitb_reference)
+# types = pdf txt rtf ps xhtml html man tex texi dvi
+# types = pdf txt
+types = $(docbooktotypes)
+docbooktotypes = pdf
+# htmlcssfile =
+# htmlcss =
+
+TOPDIR := ..
+ASCIIDOCS := osmonitb-usermanual
+
+include $(TOPDIR)/build/Makefile.asciidoc.inc
+include $(TOPDIR)/build/Makefile.inc
+
+osmonitb-usermanual.pdf: chapters/*.adoc
+
+clean:
+ rm -rf $(cleanfiles)
+
+gen-nitb-vty-docbook: FORCE
+ $(call command,xsltproc -o generated/combined1.xml \
+ --stringparam with $(PWD)/../common/vty_additions.xml \
+ $(MERGE_DOC) vty/nitb_vty_reference.xml, \
+ XSLTPROC,Merging Common VTY)
+ $(call command,xsltproc -o generated/combined2.xml \
+ --stringparam with $(PWD)/../common/bsc_vty_additions.xml \
+ $(MERGE_DOC) generated/combined1.xml, \
+ XSLTPROC,Merging Common BSC VTY)
+ $(call command,xsltproc -o generated/combined3.xml \
+ --stringparam with $(PWD)/vty/nitb_vty_additions.xml \
+ $(MERGE_DOC) generated/combined2.xml, \
+ XSLTPROC,Merging NITB VTY)
+ $(call command,xsltproc ../vty_reference.xsl generated/combined3.xml > generated/docbook_vty.xml, \
+ XSLTPROC,Converting NITB VTY to DocBook)