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
Add note about C++11 tweak
[mp-xquery-moved-to-github.git]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index
58eceff
..
d319661
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-4,7
+4,10
@@
prefix = /usr
prefix = /usr
+VERSION=$(shell . ../IDMETA; echo $$VERSION)
+
XSLTPROC_COMPILE = xsltproc --xinclude -path "."
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
@@
-14,23
+17,31
@@
XMLFILES=book.xml manref.xml
all: index.html $(MANFILES)
all: index.html $(MANFILES)
-index.html: $(XMLFILES)
+index.html: $(XMLFILES) local.ent
$(HTML_COMPILE) book.xml
$(HTML_COMPILE) book.xml
-manref.xml: $(REFFILES)
+manref.xml: $(REFFILES) local.ent
rm -f manref.xml
for i in $(REFFILES); do \
xsltproc stripref.xsl $$i | sed 1d >>manref.xml; \
done
rm -f manref.xml
for i in $(REFFILES); do \
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) $<
clean:
.xml.3mp:
$(MAN_COMPILE) $<
clean:
- rm -f *.html *.pdf manref.xml *.hhp *.hhc $(MANFILES)
+ rm -f local.ent *.html *.pdf manref.xml *.hhp *.hhc $(MANFILES)
distclean: clean
distclean: clean
+local.ent: local.ent.in
+ sed "s/@VERSION@/$(VERSION)/" <local.ent.in >local.ent
+
check: all
install:
check: all
install: