From 8357bd3a078cb06e8c42e1cb2c7f493403aa700a Mon Sep 17 00:00:00 2001 From: PHO Date: Fri, 18 May 2012 02:04:13 +0900 Subject: [PATCH] oh-my-god.css --- am/docbook.am | 5 ++++- src/Makefile.am | 1 + src/oh-my-god.css | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/oh-my-god.css diff --git a/am/docbook.am b/am/docbook.am index c573c46..c9030b0 100644 --- a/am/docbook.am +++ b/am/docbook.am @@ -1,7 +1,7 @@ DOCBOOK_STYLESHEET = \ http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/chunk.xsl -EXTRA_DIST = $(DOCBOOK_FILES) +EXTRA_DIST = $(DOCBOOK_FILES) $(DOCBOOK_CSS) html-local: "$(XmllintCmd)" \ @@ -15,10 +15,13 @@ html-local: --xinclude \ --stringparam base.dir "html/" \ --stringparam chunker.output.indent "yes" \ + --stringparam html.stylesheet "$(DOCBOOK_CSS)" \ --stringparam use.id.as.filename "yes" \ --nonet \ "$(DOCBOOK_STYLESHEET)" \ "$(srcdir)/$(DOCBOOK_MAIN)" + cp -f "$(srcdir)/$(DOCBOOK_CSS)" "html/" + clean-local: -rm -rf "html" diff --git a/src/Makefile.am b/src/Makefile.am index 25eca7c..e0a0330 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ DOCBOOK_MAIN = oh-my-god.xml +DOCBOOK_CSS = oh-my-god.css DOCBOOK_FILES = \ $(DOCBOOK_MAIN) \ diff --git a/src/oh-my-god.css b/src/oh-my-god.css new file mode 100644 index 0000000..9f44090 --- /dev/null +++ b/src/oh-my-god.css @@ -0,0 +1 @@ +@charset "UTF-8"; -- 2.40.0