aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-01-04 14:27:05 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-01-04 14:27:05 +0100
commit57850b2a7d50ee37b7b623921081b9060dd778eb (patch)
treefccb39c8b6eb4289fd5f5b03547b8576a193305d /Makefile
parentbb2a0cec678b80b1ffad675d5f2bdf1982d603d6 (diff)
New template
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; \