blob: 2dfedb25d50bcef4fa91aa27ae8b86714e4d6829 [file] [log] [blame]
Harald Welte8a1e7b82017-09-06 12:35:04 +02001# XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/
2# Makefile from BitBake/OpenEmbedded manuals
3
Harald Weltef0fb2c22017-09-07 01:02:04 +02004EXTRA_DEPS = gen-ggsn-vty-docbook
5
6topdir = .
7ggsn_reference = $(topdir)/osmoggsn-vty-reference.xml
8manuals = $(ggsn_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
Harald Welte8a1e7b82017-09-06 12:35:04 +020016TOPDIR := ..
17ASCIIDOCS := osmoggsn-usermanual
18
19include $(TOPDIR)/build/Makefile.asciidoc.inc
20include $(TOPDIR)/build/Makefile.inc
21
22osmoggsn-usermanual.pdf: chapters/*.adoc
23
24clean:
Harald Weltef0fb2c22017-09-07 01:02:04 +020025 -rm -rf $(cleanfiles)
26 -rm osmoggsn-usermanual__*.svg osmoggsn-usermanual__*.png
27 -rm osmoggsn-usermanual.check
28
29gen-ggsn-vty-docbook: FORCE
30 $(call command,xsltproc -o generated/combined1.xml \
31 --stringparam with $(PWD)/../common/vty_additions.xml \
32 $(MERGE_DOC) vty/ggsn_vty_reference.xml, \
33 XSLTPROC,Merging Common VTY)
34 $(call command,xsltproc -o generated/combined2.xml \
35 --stringparam with $(PWD)/vty/ggsn_vty_additions.xml \
36 $(MERGE_DOC) generated/combined1.xml, \
37 XSLTPROC,Merging GGSN VTY)
38 $(call command,xsltproc ../vty_reference.xsl generated/combined2.xml > generated/docbook_vty.xml, \
39 XSLTPROC,Converting GGSN VTY to DocBook)