aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-03-26 14:45:00 -0400
committerGraham Christensen <graham@grahamc.com>2018-03-26 14:45:00 -0400
commitda17974541af182f86bd98e992f1c25987adac55 (patch)
tree8eb4b9a15ac01dbf45c481765e57569162ce36a7 /doc/Makefile
parenta80856cec5811b9eb7778b157e5ea943db26e74b (diff)
Move the overridden CSS to overrides.css which can be applied on nixos.org
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 714a2a3e273..b76ea9ed59e 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -23,6 +23,7 @@ out/html/index.html: manual-full.xml style.css
"$$XSL/docbook/xhtml/docbook.xsl" \
./manual-full.xml
+ cp ./overrides.css out/html/
cp ./style.css out/html/style.css
mkdir -p out/html/images/callouts
@@ -36,6 +37,7 @@ out/epub/manual.epub: manual-full.xml
"$$XSL/docbook/epub/docbook.xsl" \
./manual-full.xml
+ cp ./overrides.css out/epub/scratch/OEBPS
cp ./style.css out/epub/scratch/OEBPS
mkdir -p out/epub/scratch/OEBPS/images/callouts/
cp "$$XSL/docbook/images/callouts/"*.svg out/epub/scratch/OEBPS/images/callouts/