21 lines
225 B
Makefile
21 lines
225 B
Makefile
|
all:
|
||
|
make clean
|
||
|
make toPdf
|
||
|
make cropPdf
|
||
|
make pdf2png
|
||
|
|
||
|
clean:
|
||
|
rm -f *.png
|
||
|
rm -f *.pdf
|
||
|
|
||
|
toPdf:
|
||
|
libreoffice --convert-to pdf *.od*
|
||
|
|
||
|
cropPdf:
|
||
|
chmod +x pdfcrop.sh
|
||
|
./pdfcrop.sh
|
||
|
|
||
|
pdf2png:
|
||
|
chmod +x pdf2png.sh
|
||
|
./pdf2png.sh
|