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-27 18:10:00 +0100
commit9f1331b1036509c258abc5cf792aeeea48935cfe (patch)
treef8465fc3f7651cff3b871a69ca51daad7f99117b /doc/manuals/Makefile
parentb2ee85da69caf11e347601e06cb1be73551c723d (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..803a74bfd
--- /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-sgsn-vty-docbook
+
+topdir = .
+sgsn_reference = $(topdir)/osmosgsn-vty-reference.xml
+manuals = $(sgsn_reference)
+# types = pdf txt rtf ps xhtml html man tex texi dvi
+# types = pdf txt
+types = $(docbooktotypes)
+docbooktotypes = pdf
+# htmlcssfile =
+# htmlcss =
+
+TOPDIR := ..
+ASCIIDOCS := osmosgsn-usermanual
+
+include $(TOPDIR)/build/Makefile.asciidoc.inc
+include $(TOPDIR)/build/Makefile.inc
+
+osmosgsn-usermanual.pdf: chapters/*.adoc
+
+clean:
+ rm -rf $(cleanfiles)
+
+gen-sgsn-vty-docbook: FORCE
+ $(call command,xsltproc -o generated/combined1.xml \
+ --stringparam with $(PWD)/../common/vty_additions.xml \
+ $(MERGE_DOC) vty/sgsn_vty_reference.xml, \
+ XSLTPROC,Merging Common VTY)
+ $(call command,xsltproc -o generated/combined2.xml \
+ --stringparam with $(PWD)/../common/ns_vty_additions.xml \
+ $(MERGE_DOC) generated/combined1.xml, \
+ XSLTPROC,Merging Common NS VTY)
+ $(call command,xsltproc -o generated/combined3.xml \
+ --stringparam with $(PWD)/vty/sgsn_vty_additions.xml \
+ $(MERGE_DOC) generated/combined2.xml, \
+ XSLTPROC,Merging SGSN VTY)
+ $(call command,xsltproc ../vty_reference.xsl generated/combined3.xml > generated/docbook_vty.xml, \
+ XSLTPROC,Converting SGSN VTY to DocBook)