blob: e12d3e2832743c83f7c15d7d6c38e3a28929f08a [file] [log] [blame]
Harald Welte75c0e082016-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
4
5EXTRA_DEPS = gen-bsc-vty-docbook
6
7topdir = .
8bsc_reference = $(topdir)/osmobsc-vty-reference.xml
9manuals = $(bsc_reference)
10# types = pdf txt rtf ps xhtml html man tex texi dvi
11# types = pdf txt
12types = $(docbooktotypes)
13docbooktotypes = pdf
14# htmlcssfile =
15# htmlcss =
16
17TOPDIR := ..
Pau Espin Pedrolb1202722017-05-03 12:38:05 +020018ASCIIDOCS := osmobsc-usermanual osmux-reference
Harald Welte75c0e082016-02-20 10:56:10 +010019
20include $(TOPDIR)/build/Makefile.asciidoc.inc
21include $(TOPDIR)/build/Makefile.inc
22
23osmobsc-usermanual.pdf: chapters/*.adoc
Pau Espin Pedrolb1202722017-05-03 12:38:05 +020024osmux-reference.pdf: osmux-reference.adoc
Harald Welte75c0e082016-02-20 10:56:10 +010025
26clean:
Neels Hofmeyr7f7ca912016-10-17 06:47:22 +020027 -rm -rf $(cleanfiles)
28 -rm osmobsc-usermanual__*.png
29 -rm osmobsc-usermanual__*.svg
30 -rm osmobsc-usermanual*.check
Pau Espin Pedrolb1202722017-05-03 12:38:05 +020031 -rm osmux-reference*.check
Harald Welte75c0e082016-02-20 10:56:10 +010032
33gen-bsc-vty-docbook: FORCE
34 $(call command,xsltproc -o generated/combined1.xml \
35 --stringparam with $(PWD)/../common/vty_additions.xml \
36 $(MERGE_DOC) vty/bsc_vty_reference.xml, \
37 XSLTPROC,Merging Common VTY)
38 $(call command,xsltproc -o generated/combined2.xml \
39 --stringparam with $(PWD)/../common/bsc_vty_additions.xml \
40 $(MERGE_DOC) generated/combined1.xml, \
41 XSLTPROC,Merging Common BSC VTY)
42 $(call command,xsltproc -o generated/combined3.xml \
43 --stringparam with $(PWD)/vty/bsc_vty_additions.xml \
44 $(MERGE_DOC) generated/combined2.xml, \
45 XSLTPROC,Merging BSC VTY)
46 $(call command,xsltproc ../vty_reference.xsl generated/combined3.xml > generated/docbook_vty.xml, \
47 XSLTPROC,Converting BSC VTY to DocBook)