* output/Makefile.am (HELP_LINGUAS): Disable nb for now;

(fo): Generate fo output.



svn: r8224
This commit is contained in:
Alex Roitman 2007-02-24 01:47:15 +00:00
parent 791da90731
commit 6bcf451515
2 changed files with 30 additions and 3 deletions

View File

@ -1,6 +1,8 @@
2007-02-23 Alex Roitman <shura@gramps-project.org> 2007-02-23 Alex Roitman <shura@gramps-project.org>
* C/gramps.xml: List Don just once, as a maintainer. * C/gramps.xml: List Don just once, as a maintainer.
* output/Makefile.am (HELP_LINGUAS): Disable nb for now. * output/Makefile.am (HELP_LINGUAS): Disable nb for now;
(fo): Generate fo output.
* output/gramps-help-screen.css: Modify css to see revision * output/gramps-help-screen.css: Modify css to see revision
history by the main text. history by the main text.

View File

@ -10,6 +10,7 @@ ADMON_IMAGES = note.png tip.png warning.png
# Docbook stuff # Docbook stuff
chunkxsl = /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl chunkxsl = /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl
admonimgdir = /usr/share/xml/docbook/stylesheet/nwalsh/images/ admonimgdir = /usr/share/xml/docbook/stylesheet/nwalsh/images/
docbookxsl = /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl
html: html:
rm -rf gramps-manual # Clean up the output dir rm -rf gramps-manual # Clean up the output dir
@ -41,5 +42,29 @@ html:
cp gramps-help-screen.css gramps-manual/ cp gramps-help-screen.css gramps-manual/
pdf: pdf: fo
echo "This is a placeholder for making PDF"
fo:
rm -rf gramps-pdf # Clean up the output dir
for lang in $(HELP_LINGUAS) ; do \
if test $$lang = C ; then \
papers="USletter A4"; \
else \
papers=A4 ; \
fi ; \
for paper in $$papers ; do \
xsltproc \
--output gramps-pdf/$$lang/gramps-$$paper.fo \
--stringparam paper.type $$paper \
--stringparam double.sided 1 \
--stringparam admon.graphics 1 \
--stringparam admon.graphics.path ./admonpdf \
--stringparam section.autolabel 1 \
--stringparam section.autolabel.max.depth 3 \
--stringparam \
section.label.includes.component.label 1 \
--stringparam body.start.indent 0pt \
--stringparam fop.extensions 1 \
$(docbookxsl) ../$$lang/gramps.xml ; \
done ; \
done