From: PHO Date: Thu, 17 May 2012 17:04:13 +0000 (+0900) Subject: oh-my-god.css X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=8357bd3a078cb06e8c42e1cb2c7f493403aa700a;p=oh-my-god.git 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";