blob: ef803278fc239c3df7c43202084b90308edc0c31 [file] [log] [blame]
Harald Welte4ff37fe2016-02-20 10:56:10 +01001# XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/
2# Makefile from BitBake/OpenEmbedded manuals
3
4EXTRA_DEPS = gen-vty-docbook
5
6topdir = .
7pcu_reference = $(topdir)/osmopcu-vty-reference.xml
8manuals = $(bts_manual) $(pcu_reference)
9# types = pdf txt rtf ps xhtml html man tex texi dvi
10# types = pdf txt
11types = $(docbooktotypes)
12docbooktotypes = pdf
13# htmlcssfile =
14# htmlcss =
15
16TOPDIR := ..
Harald Welteb682cd62016-02-29 15:09:55 +010017ASCIIDOCS := osmopcu-usermanual osmopcu-gb
Harald Welte4ff37fe2016-02-20 10:56:10 +010018
19include $(TOPDIR)/build/Makefile.asciidoc.inc
20include $(TOPDIR)/build/Makefile.inc
21
Harald Welteb682cd62016-02-29 15:09:55 +010022osmopcu-gb.pdf: gb/*.adoc gb/*.msc
Harald Welte4ff37fe2016-02-20 10:56:10 +010023osmopcu-usermanual.pdf: chapters/*.adoc
24
25clean:
26 rm -rf $(cleanfiles)
27 rm -rf gen-vty-docbook
28
29gen-vty-docbook: FORCE
30 $(call command,xsltproc -o generated/combined1.xml \
31 --stringparam with $(PWD)/../common/vty_additions.xml \
32 $(MERGE_DOC) vty/osmo-pcu_vty_reference.xml, \
33 XSLTPROC,Merging Common VTY)
34 $(call command,xsltproc -o generated/combined2.xml \
35 --stringparam with $(PWD)/vty/osmo-pcu_vty_additions.xml \
36 $(MERGE_DOC) generated/combined1.xml, \
37 XSLTPROC,Merging PCU VTY)
38 $(call command,xsltproc ../vty_reference.xsl generated/combined2.xml > generated/docbook_vty.xml, \
39 XSLTPROC,Converting PCU VTY to DocBook)
40
41
42