mirror of
https://github.com/eddelbuettel/binb
synced 2024-12-22 12:39:58 +01:00
16 lines
359 B
Makefile
16 lines
359 B
Makefile
## Simple Makefile to create animated gif files from pdf files
|
|
##
|
|
## Special thanks to Mikko Korpela for the hint concerning the 'density'
|
|
## option in pull request #5 resulting in much crisper gif files
|
|
##
|
|
## Dirk Eddelbuettel, Sep 2018, GPL-2'ed
|
|
|
|
pdfs = `ls *pdf`
|
|
gifs = $(pdfs:.pdf=.gif)
|
|
|
|
|
|
all: ${gifs}
|
|
|
|
%.gif: %.pdf
|
|
convert -density 127 -delay 200 $< $@
|