Commits

Shlomi Fish  committed c5a44f9

Add more to the README.

  • Participants
  • Parent commits 9810e45

Comments (0)

Files changed (2)

 FILES = Makefile $(DOCS_FICTION_XHTML) \
-		The-Enemy-English.xhtml \
 		$(DOCS_FICTION_TEXT) $(DOCS_FICTION_DB5) \
-		$(ENG_EPUB) $(ENG_DB_PROCESSED) $(ENG_DB_SOURCE) \
+		$(ENG_EPUB) $(ENG_DB_PROCESSED) $(ENG_DB_SOURCE) $(ENG_XHTML) \
 		style.css \
 		README.html
 
+# The-Enemy-English.xhtml \
+
 DOCS_BASE = The-Enemy-Hebrew
 
 DOCS_FICTION_TEXT = $(patsubst %,%.fiction-text.txt,$(DOCS_BASE))
 ENG_DB_DIR = English-Docbook
 
 ENG_EPUB = $(ENG_DB_DIR)/The-Enemy-English.epub
+ENG_XHTML = $(ENG_DB_DIR)/The-Enemy-English.xhtml
 
-all: $(DOCS_FICTION_XHTML) $(ENG_EPUB)
+all: $(DOCS_FICTION_XHTML) $(ENG_EPUB) $(ENG_XHTML)
 
 odt: $(DOCS_FICTION_ODT)
 
 	jing http://www.docbook.org/xml/5.0/rng/docbook.rng $<
 	ruby $(HOME)/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub -o $@ $<
 
+$(ENG_XHTML) : $(ENG_DB_PROCESSED)
+	jing http://www.docbook.org/xml/5.0/rng/docbook.rng $<
+	xsltproc --stringparam root.filename $@ --path $(DOCBOOK5_XSL_STYLESHEETS_XHTML_PATH) -o $@ $(DOCBOOK5_XSL_CUSTOM_XSLT_STYLESHEET) $<
+	mv -f English-Docbook/English-Docbook/The-Enemy-English.xhtml.html $@
+
 .PHONY: epub_ff
 
 epub_ff: $(ENG_EPUB)
 <ul>
 
 <li>
-<a href="The-Enemy-English.xhtml">English XHTML</a> - can be edited directly.
+<a href="The-Enemy-English.db5.xml">English DocBook 5</a> - source in DocBook
+5 (XML format). Can be edited directly.
+</li>
+
+<li>
+<a href="The-Enemy-English.xhtml">English XHTML</a> - to be read - generated
+from the docbook. <b style="color:red">DO NOT EDIT DIRECTLY!</b>.
 </li>
 
 <li>