diff options
Diffstat (limited to 'slidy')
-rw-r--r-- | slidy/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slidy/Makefile b/slidy/Makefile index b7d07d9..2f200f0 100644 --- a/slidy/Makefile +++ b/slidy/Makefile @@ -5,7 +5,8 @@ presentations = $(pandoc_sources:%.mkd=%/index.html) all: $(presentations) # TODO: use --offline when working with Debian packaging of Pandoc +# FIXME: only add local stylesheet if it already exist in target dir $(presentations): %/index.html : %.mkd mkdir -p $(dir $@) - pandoc --from Markdown --to Slidy -o $@ -s $< + pandoc --from Markdown --to Slidy -o $@ -s -c local.css $< perl -i -pe 's{http://www.w3.org/Talks/Tools/Slidy2/(?:styles|scripts)/(slidy.(?:css|js))(?:\.gz)?}{../../../slidy/$$1}g' $@ |