From b7d675f9d89fb412a86d708a3e32cb8d8c2cc2d2 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 4 Feb 2013 16:06:11 +0100 Subject: Use asciidoc's shylesheet attribute instead of fixing css with sed --- doc/Makefile | 4 ++-- doc/fix-css.sed | 17 ----------------- doc/hs-wismar.css | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 doc/fix-css.sed create mode 100644 doc/hs-wismar.css (limited to 'doc') diff --git a/doc/Makefile b/doc/Makefile index 20977dc..56b50cc 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -17,8 +17,8 @@ IMAGES_SVG=$(IMAGES_DIA:.dia=.svg) # inkscape --without-gui --export-png=$@.png -h 1024 $@ .SUFFIXES: .txt .html -presentation.html: presentation.txt - asciidoc --backend slidy -o - presentation.txt | sed -f fix-css.sed > $@ +presentation.html: presentation.txt hs-wismar.css + asciidoc --backend slidy --attribute stylesheet=$(PWD)/hs-wismar.css $< .txt.html: asciidoc --backend html $< diff --git a/doc/fix-css.sed b/doc/fix-css.sed deleted file mode 100644 index 780fd9c..0000000 --- a/doc/fix-css.sed +++ /dev/null @@ -1,17 +0,0 @@ -/