From 57850b2a7d50ee37b7b623921081b9060dd778eb Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Tue, 4 Jan 2022 14:27:05 +0100 Subject: New template --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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; \ -- cgit v1.2.3