Commit ff000526 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Another update to PDF generation



Change-Id: I8653ef2a52eb3c7a18d1615c03cc7c0538f5ae52
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 5d4b0ac7
*.aux *.pdf
*.dvi
*.idx
*.ilg
*.ind
*.lof
*.log
*.lot
*.out
*.ps
*.toc
*.labels
~$*.doc
~*.tmp
...@@ -32,11 +32,13 @@ ...@@ -32,11 +32,13 @@
TOP := .. TOP := ..
include ../Makefile.cfg include ../Makefile.cfg
.SUFFIXES: .tex .labels .dvi .ps .pdf .SUFFIXES: .adoc .pdf
PDF_GEN_CALL := asciidoctor-pdf --attribute skip-front-matter PDF_GEN_CALL := asciidoctor-pdf --attribute skip-front-matter
TITAN_PDFS := apiguide/Apiguide.pdf userguide/UserGuide.pdf installationguide/installationguide.pdf referenceguide/ReferenceGuide.pdf releasenotes/releasenotes.pdf TITAN_PDFS := apiguide/Apiguide.pdf userguide/UserGuide.pdf installationguide/installationguide.pdf \
referenceguide/ReferenceGuide.pdf releasenotes/releasenotes.pdf PRI/PRI.pdf SoC_TITAN/SoC_TITAN.pdf \
SoC_XML_TITAN/SoC_XML_TITAN.pdf
ifeq ($(GEN_PDF), yes) ifeq ($(GEN_PDF), yes)
...@@ -54,21 +56,30 @@ endif ...@@ -54,21 +56,30 @@ endif
clean: clean:
rm -f $(TITAN_PDFS) rm -f $(TITAN_PDFS)
apiguide/Apiguide.pdf: apiguide/Apiguide.pdf: apiguide/*.adoc apiguide/images/*
$(PDF_GEN_CALL) -o $@ apiguide/README.adoc $(PDF_GEN_CALL) -o $@ apiguide/README.adoc
userguide/UserGuide.pdf: userguide/UserGuide.pdf: userguide/*.adoc userguide/images/*
$(PDF_GEN_CALL) userguide/UserGuide.adoc $(PDF_GEN_CALL) userguide/UserGuide.adoc
installationguide/installationguide.pdf: installationguide/installationguide.pdf: installationguide/*.adoc installationguide/images/*
$(PDF_GEN_CALL) installationguide/installationguide.adoc $(PDF_GEN_CALL) installationguide/installationguide.adoc
referenceguide/ReferenceGuide.pdf: referenceguide/ReferenceGuide.pdf: referenceguide/*.adoc referenceguide/images/*
$(PDF_GEN_CALL) referenceguide/ReferenceGuide.adoc $(PDF_GEN_CALL) referenceguide/ReferenceGuide.adoc
releasenotes/releasenotes.pdf: releasenotes/releasenotes.pdf: releasenotes/*.adoc releasenotes/images/*
$(PDF_GEN_CALL) releasenotes/releasenotes.adoc $(PDF_GEN_CALL) releasenotes/releasenotes.adoc
PRI/PRI.pdf: PRI/*.adoc
$(PDF_GEN_CALL) PRI/PRI.adoc
SoC_TITAN/SoC_TITAN.pdf: SoC_TITAN/*.adoc SoC_TITAN/images/*
$(PDF_GEN_CALL) SoC_TITAN/SoC_TITAN.adoc
SoC_XML_TITAN/SoC_XML_TITAN.pdf: SoC_XML_TITAN/*.adoc SoC_XML_TITAN/images/*
$(PDF_GEN_CALL) SoC_XML_TITAN/SoC_XML_TITAN.adoc
else else
# GEN_PDF == no # GEN_PDF == no
all run: all run:
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment