svn: r8217
This commit is contained in:
Alex Roitman 2007-02-23 06:10:16 +00:00
parent c0e88026fc
commit 6db979b1f8

View File

@ -14,19 +14,21 @@ admonimgdir = /usr/share/xml/docbook/stylesheet/nwalsh/images/
html: html:
rm -rf gramps-manual # Clean up the output dir rm -rf gramps-manual # Clean up the output dir
for lang in $(HELP_LINGUAS) ; do \ for lang in $(HELP_LINGUAS) ; do \
xsltproc -o gramps-manual/$(BRANCH)/$$lang/index.html \ xsltproc -o gramps-manual/$(BRANCH)/$$lang/index.html \
--stringparam chunker.output.encoding UTF-8 \ --stringparam chunker.output.encoding UTF-8 \
--stringparam html.stylesheet ../../gramps-help-screen.css \ --stringparam html.stylesheet \
--stringparam admon.graphics 1 \ ../../gramps-help-screen.css \
--stringparam admon.graphics.path ../../images/ \ --stringparam admon.graphics 1 \
--stringparam navig.graphics 1 \ --stringparam admon.graphics.path ../../images/ \
--stringparam navig.graphics.extension .png \ --stringparam navig.graphics 1 \
--stringparam navig.graphics.path ../../images/ \ --stringparam navig.graphics.extension .png \
$(chunkxsl) ../$$lang/gramps.xml ; \ --stringparam navig.graphics.path ../../images/ \
mkdir gramps-manual/$(BRANCH)/$$lang/figures ; \ $(chunkxsl) ../$$lang/gramps.xml ; \
cp -R ../$$lang/figures/*.png \ mkdir gramps-manual/$(BRANCH)/$$lang/figures ; \
gramps-manual/$(BRANCH)/$$lang/figures/ ; \ cp ../$$lang/figures/*.png \
echo "Done with html for $$lang" ; \ gramps-manual/$(BRANCH)/$$lang/figures/ ; \
echo " Done with html for $$lang" ; \
echo " " ; \
done done
mv gramps-manual/$(BRANCH)/C gramps-manual/$(BRANCH)/en mv gramps-manual/$(BRANCH)/C gramps-manual/$(BRANCH)/en
@ -34,7 +36,7 @@ html:
mkdir gramps-manual/images mkdir gramps-manual/images
cp htmlpic/* gramps-manual/images/ cp htmlpic/* gramps-manual/images/
for img in $(ADMON_IMAGES) ; do \ for img in $(ADMON_IMAGES) ; do \
cp $(admonimgdir)/$$img gramps-manual/images/ ; \ cp $(admonimgdir)/$$img gramps-manual/images/ ; \
done done
cp gramps-help-screen.css gramps-manual/ cp gramps-help-screen.css gramps-manual/