aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 891daf7..f1523c7 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,11 @@ all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
+pngs: $(SUBDIRS)
+ for dir in $(SUBDIRS); do \
+ gs -dTextAlphaBits=4 -dFirstPage=1 -dLastPage=1 -dBATCH -dNOPAUSE -sDEVICE=png16m -r72 -dUseCropBox -sOutputFile=$$dir/example.png $$dir/example.pdf; \
+ done
+
clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \