From 7d3a56aaadd685e318ab9bf305008e6e572feb18 Mon Sep 17 00:00:00 2001 From: Brandon Rhodes Date: Mon, 27 Apr 2015 08:05:28 -0400 Subject: [PATCH] Move old image-building files into a directory --- Diagrams.ipynb => images/Diagrams.ipynb | 0 Makefile => images/Makefile | 4 ++-- images/loop.sh | 1 + sample.csv => images/sample.csv | 0 tmp.dot => images/tmp.dot | 0 loop.sh | 1 - problems.txt | 22 ---------------------- 7 files changed, 3 insertions(+), 25 deletions(-) rename Diagrams.ipynb => images/Diagrams.ipynb (100%) rename Makefile => images/Makefile (64%) create mode 100755 images/loop.sh rename sample.csv => images/sample.csv (100%) rename tmp.dot => images/tmp.dot (100%) delete mode 100755 loop.sh delete mode 100644 problems.txt diff --git a/Diagrams.ipynb b/images/Diagrams.ipynb similarity index 100% rename from Diagrams.ipynb rename to images/Diagrams.ipynb diff --git a/Makefile b/images/Makefile similarity index 64% rename from Makefile rename to images/Makefile index 1f48c9a..bda8562 100644 --- a/Makefile +++ b/images/Makefile @@ -4,7 +4,7 @@ TABLE_IMG := $(addsuffix .png, $(basename $(TABLE_HTML))) tmp.png: tmp.dot $(TABLE_IMG) dot -Tpng -o tmp.png tmp.dot -$(TABLE_IMG): %.png: %.html style-table.css - (echo ''; cat $<) |\ +$(TABLE_IMG): %.png: %.html ../style-table.css + (echo ''; cat $<) |\ wkhtmltoimage - tmp.png && convert -trim tmp.png $@ diff --git a/images/loop.sh b/images/loop.sh new file mode 100755 index 0000000..0492d74 --- /dev/null +++ b/images/loop.sh @@ -0,0 +1 @@ +,make-loop ../style-table.css *.html Makefile tmp.dot diff --git a/sample.csv b/images/sample.csv similarity index 100% rename from sample.csv rename to images/sample.csv diff --git a/tmp.dot b/images/tmp.dot similarity index 100% rename from tmp.dot rename to images/tmp.dot diff --git a/loop.sh b/loop.sh deleted file mode 100755 index 2b4fa64..0000000 --- a/loop.sh +++ /dev/null @@ -1 +0,0 @@ -,make-loop style-table.css *.html Makefile tmp.dot diff --git a/problems.txt b/problems.txt deleted file mode 100644 index f5af9cd..0000000 --- a/problems.txt +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -1. - - - -2. - - -3. - - -4. - - -5. - - -6.