diff options
Diffstat (limited to 'OsmoPCU/Makefile')
-rw-r--r-- | OsmoPCU/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/OsmoPCU/Makefile b/OsmoPCU/Makefile new file mode 100644 index 0000000..f742e07 --- /dev/null +++ b/OsmoPCU/Makefile @@ -0,0 +1,41 @@ +# XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/ +# Makefile from BitBake/OpenEmbedded manuals + +EXTRA_DEPS = gen-vty-docbook + +topdir = . +pcu_reference = $(topdir)/osmopcu-vty-reference.xml +manuals = $(bts_manual) $(pcu_reference) +# types = pdf txt rtf ps xhtml html man tex texi dvi +# types = pdf txt +types = $(docbooktotypes) +docbooktotypes = pdf +# htmlcssfile = +# htmlcss = + +TOPDIR := .. +ASCIIDOCS := osmopcu-usermanual + +include $(TOPDIR)/build/Makefile.asciidoc.inc +include $(TOPDIR)/build/Makefile.inc + +osmopcu-usermanual.pdf: chapters/*.adoc + +clean: + rm -rf $(cleanfiles) + rm -rf gen-vty-docbook + +gen-vty-docbook: FORCE + $(call command,xsltproc -o generated/combined1.xml \ + --stringparam with $(PWD)/../common/vty_additions.xml \ + $(MERGE_DOC) vty/osmo-pcu_vty_reference.xml, \ + XSLTPROC,Merging Common VTY) + $(call command,xsltproc -o generated/combined2.xml \ + --stringparam with $(PWD)/vty/osmo-pcu_vty_additions.xml \ + $(MERGE_DOC) generated/combined1.xml, \ + XSLTPROC,Merging PCU VTY) + $(call command,xsltproc ../vty_reference.xsl generated/combined2.xml > generated/docbook_vty.xml, \ + XSLTPROC,Converting PCU VTY to DocBook) + + + |