blob: f742e07968b1088bf060eaf8b370f07a89dbe95a [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 := ..
17ASCIIDOCS := osmopcu-usermanual
18
19include $(TOPDIR)/build/Makefile.asciidoc.inc
20include $(TOPDIR)/build/Makefile.inc
21
22osmopcu-usermanual.pdf: chapters/*.adoc
23
24clean:
25 rm -rf $(cleanfiles)
26 rm -rf gen-vty-docbook
27
28gen-vty-docbook: FORCE
29 $(call command,xsltproc -o generated/combined1.xml \
30 --stringparam with $(PWD)/../common/vty_additions.xml \
31 $(MERGE_DOC) vty/osmo-pcu_vty_reference.xml, \
32 XSLTPROC,Merging Common VTY)
33 $(call command,xsltproc -o generated/combined2.xml \
34 --stringparam with $(PWD)/vty/osmo-pcu_vty_additions.xml \
35 $(MERGE_DOC) generated/combined1.xml, \
36 XSLTPROC,Merging PCU VTY)
37 $(call command,xsltproc ../vty_reference.xsl generated/combined2.xml > generated/docbook_vty.xml, \
38 XSLTPROC,Converting PCU VTY to DocBook)
39
40
41