summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2011-05-23 11:27:41 -0400
committerVincent Batts <vbatts@hashbangbash.com>2011-05-23 11:27:41 -0400
commit094749bd8e63d3a1c09ca499e68de22af154252e (patch)
treed34336590deabba6df430d793622c78ef5fe72b0 /Makefile
parent4af8163c5a3386e8dc517b0c3ea7786ddc0f61e5 (diff)
downloadslackbook-094749bd8e63d3a1c09ca499e68de22af154252e.tar.xz
updating the convert flags, and taking the clean.images out of the
global clean target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 39c5af1..48560bb 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,9 @@ list_imgs:
define png_template
$(1): $(2)
mkdir -p $(CWD)png && \
- convert $(2) -antialias -flatten $(1)
+ convert -channel RGBA -density 196 $(2) -resample 72 -geometry 800x600 -trim +repage -flatten $(1)
endef
+ #convert $(2) -geometry 800x600 -quality 100 -depth 24 -weight 10 -render -flatten $(1)
# this is a little voodoo, to iterate over the *.eps files,
# and create a make target of the png output name, that will
@@ -58,7 +59,7 @@ view.html: book.html
rm -fr png/
.PHONY: clean
-clean: .clean.pdf .clean.html .clean.images
+clean: .clean.pdf .clean.html
.DEFAULT_GOAL := book.html