Enlightenment CVS committal Author : dresb Project : e17 Module : docs
Dir : e17/docs/devwithedje Modified Files: Makefile Added Files: devwithedje.css devwithedje.txt stylesheet.tex Removed Files: devwithedje.xml Log Message: switched to restructured text and improved the text in general =================================================================== RCS file: /cvs/e/e17/docs/devwithedje/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Makefile 15 Jan 2008 02:33:41 -0000 1.1 +++ Makefile 4 Apr 2008 23:18:37 -0000 1.2 @@ -1,48 +1,29 @@ -# DocBook XML Document Transformation Makefile -# Required tools: -# - xmlto (Available as Debian package) -# - fop (Available as Debian package) -# - Jimi Image library which is available from Sun at http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#packages -# -# You are also advised to install all xml-related Debian packages -# The book "Docbook the Definitive GUIDE" is also available as a Debian package -# -# Many thanks to Ben Rockwood for his help. -# -# Kostis Kapelonis -# Summer 2006 +# To create all the document types you need python and docutils. +# To create PDFs you need pdflatex from texlive. - -### File without suffix FILE = devwithedje -FOP = fop -XMLTO = xmlto - -all: pdf html html_single - -fo: - $(XMLTO) fo $(FILE).xml - -pdf: fo - $(FOP) $(FILE).fo -pdf $(FILE).pdf - rm -f $(FILE).fo - -txt: - $(XMLTO) txt $(FILE).xml +all: html latex pdf html: - $(XMLTO) xhtml $(FILE).xml + rst2html.py --cloak-email-addresses --stylesheet=devwithedje.css $(FILE).txt $(FILE).html + cp -f $(FILE).html pre-rendered -html_single: - $(XMLTO) xhtml-nochunks $(FILE).xml +latex: + rst2latex.py --use-latex-toc --documentclass=book --documentoptions=12pt,a4paper --stylesheet=stylesheet.tex $(FILE).txt $(FILE).tex + cp -f $(FILE).tex pre-rendered + +pdf: + pdflatex $(FILE).tex + pdflatex $(FILE).tex #the second run is required for internal references + cp -f $(FILE).pdf pre-rendered clean: - @echo "REMOVING EVERYTHING BUT MAKEFILE AND XML SOURCE!!!!!" - rm -f *.html - rm -f $(FILE).pdf $(FILE).fo - rm -f $(FILE).txt - -check: - xmllint --valid --noout $(FILE).xml - + @echo "Removing files..." + rm -f $(FILE).html + rm -f $(FILE).tex + rm -f $(FILE).log + rm -f $(FILE).out + rm -f $(FILE).pdf + rm -f $(FILE).aux + rm -f $(FILE).toc \ No newline at end of file ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs