oh-my-god.css
authorPHO <pho@cielonegro.org>
Thu, 17 May 2012 17:04:13 +0000 (02:04 +0900)
committerPHO <pho@cielonegro.org>
Thu, 17 May 2012 17:04:13 +0000 (02:04 +0900)
am/docbook.am
src/Makefile.am
src/oh-my-god.css [new file with mode: 0644]

index c573c461005a723a8d5a5a757fd71f0259e09a1a..c9030b0c4aa1278344652eadadf31ce236665dde 100644 (file)
@@ -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"
index 25eca7ceac42b3d11a36f82ccc17f58bec7ef833..e0a03303176cfc39067d526aabc194a9cdaa178b 100644 (file)
@@ -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 (file)
index 0000000..9f44090
--- /dev/null
@@ -0,0 +1 @@
+@charset "UTF-8";