Harald Welte | 9f1331b | 2016-02-20 10:56:10 +0100 | [diff] [blame] | 1 | # XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/ |
| 2 | # Makefile from BitBake/OpenEmbedded manuals |
| 3 | |
| 4 | EXTRA_DEPS = gen-sgsn-vty-docbook |
| 5 | |
| 6 | topdir = . |
| 7 | sgsn_reference = $(topdir)/osmosgsn-vty-reference.xml |
| 8 | manuals = $(sgsn_reference) |
| 9 | # types = pdf txt rtf ps xhtml html man tex texi dvi |
| 10 | # types = pdf txt |
| 11 | types = $(docbooktotypes) |
| 12 | docbooktotypes = pdf |
| 13 | # htmlcssfile = |
| 14 | # htmlcss = |
| 15 | |
| 16 | TOPDIR := .. |
| 17 | ASCIIDOCS := osmosgsn-usermanual |
| 18 | |
| 19 | include $(TOPDIR)/build/Makefile.asciidoc.inc |
| 20 | include $(TOPDIR)/build/Makefile.inc |
| 21 | |
| 22 | osmosgsn-usermanual.pdf: chapters/*.adoc |
| 23 | |
| 24 | clean: |
Neels Hofmeyr | 8343572 | 2016-10-17 06:47:22 +0200 | [diff] [blame] | 25 | -rm -rf $(cleanfiles) |
| 26 | -rm osmosgsn-usermanual__*.svg osmosgsn-usermanual__*.png |
| 27 | -rm osmosgsn-usermanual.check |
Harald Welte | 9f1331b | 2016-02-20 10:56:10 +0100 | [diff] [blame] | 28 | |
| 29 | gen-sgsn-vty-docbook: FORCE |
| 30 | $(call command,xsltproc -o generated/combined1.xml \ |
| 31 | --stringparam with $(PWD)/../common/vty_additions.xml \ |
| 32 | $(MERGE_DOC) vty/sgsn_vty_reference.xml, \ |
| 33 | XSLTPROC,Merging Common VTY) |
| 34 | $(call command,xsltproc -o generated/combined2.xml \ |
| 35 | --stringparam with $(PWD)/../common/ns_vty_additions.xml \ |
| 36 | $(MERGE_DOC) generated/combined1.xml, \ |
| 37 | XSLTPROC,Merging Common NS VTY) |
| 38 | $(call command,xsltproc -o generated/combined3.xml \ |
| 39 | --stringparam with $(PWD)/vty/sgsn_vty_additions.xml \ |
| 40 | $(MERGE_DOC) generated/combined2.xml, \ |
| 41 | XSLTPROC,Merging SGSN VTY) |
| 42 | $(call command,xsltproc ../vty_reference.xsl generated/combined3.xml > generated/docbook_vty.xml, \ |
| 43 | XSLTPROC,Converting SGSN VTY to DocBook) |