From afc5fb72d09485d5c48e21b418951585f822dde4 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 10 Jul 2012 10:56:00 +0200 Subject: [PATCH] Add build rule for epub. --- Makefile | 4 +++- README.md | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ced8243..617e941 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,14 @@ pdf: freeculture.pdf freeculture.nb.pdf %.html: %.xml $(XP) $^ && mv index.html $@ +%.epub: %.xml + dbtoepub $^ freeculture.xml: GET $(url) | gunzip > freeculture.xml freeculture.pot: freeculture.xml - po4a-gettextize -f docbook -m $^ > $@ + po4a-gettextize -f docbook -m $^ > $@.new && mv $@.new $@ stats: msgfmt -o /dev/null --statistics freeculture.nb.po diff --git a/README.md b/README.md index 1bdc30d..d14b114 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,10 @@ are needed: po4a dblatex + dbtoepub + +Docbook howtos +-------------- + +http://developer.gnome.org/gdp-handbook/stable/docbook.html.en +http://www.docbook.org/tdg/en/html/docbook.html -- 2.51.0