projects
/
mp-xquery-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make rule to build mp-xquery.pdf
[mp-xquery-moved-to-github.git]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index
18f3b8a
..
9c68dad
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-7,6
+7,7
@@
prefix = /usr
VERSION=$(shell . ../IDMETA; echo $$VERSION)
XSLTPROC_COMPILE = xsltproc --xinclude -path "."
VERSION=$(shell . ../IDMETA; echo $$VERSION)
XSLTPROC_COMPILE = xsltproc --xinclude -path "."
+PDF_COMPILE = dblatex -P latex.class.options=a4paper,12pt,twoside,openright
HTML_COMPILE = $(XSLTPROC_COMPILE) common/id.htmlhelp.xsl
MAN_COMPILE = $(XSLTPROC_COMPILE) common/id.man.xsl
REFFILES = xquery.xml
HTML_COMPILE = $(XSLTPROC_COMPILE) common/id.htmlhelp.xsl
MAN_COMPILE = $(XSLTPROC_COMPILE) common/id.man.xsl
REFFILES = xquery.xml
@@
-25,6
+26,11
@@
manref.xml: $(REFFILES) local.ent
xsltproc stripref.xsl $$i | sed 1d >>manref.xml; \
done
xsltproc stripref.xsl $$i | sed 1d >>manref.xml; \
done
+mp-xquery.pdf: $(XMLFILES) local.ent
+ rm -f mp-xquery.pdf
+ $(PDF_COMPILE) book.xml
+ mv book.pdf mp-xquery.pdf
+
.xml.3mp:
$(MAN_COMPILE) $<
.xml.3mp:
$(MAN_COMPILE) $<