diff options
author | Jonas Smedegaard <dr@jones.dk> | 2012-11-03 12:03:37 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2012-11-03 12:24:09 +0100 |
commit | 04cfb73675649a9b3b2d7ae752375fe70c18c12a (patch) | |
tree | 68fe54881ae24abd45e78e2cd609a0ae8e8cfff5 /slidy/Makefile | |
parent | 96332ea680451f58daaf13a20d27c5c3e1a02a8e (diff) |
Move Slidy files to reusable path.
Diffstat (limited to 'slidy/Makefile')
-rw-r--r-- | slidy/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/slidy/Makefile b/slidy/Makefile new file mode 100644 index 0000000..b7d07d9 --- /dev/null +++ b/slidy/Makefile @@ -0,0 +1,11 @@ +pandoc_sources := $(wildcard *.mkd) +presentations = $(pandoc_sources:%.mkd=%/index.html) +#aux = slidy.css + +all: $(presentations) + +# TODO: use --offline when working with Debian packaging of Pandoc +$(presentations): %/index.html : %.mkd + mkdir -p $(dir $@) + pandoc --from Markdown --to Slidy -o $@ -s $< + perl -i -pe 's{http://www.w3.org/Talks/Tools/Slidy2/(?:styles|scripts)/(slidy.(?:css|js))(?:\.gz)?}{../../../slidy/$$1}g' $@ |