Files
evolution/docs/devel/images/Makefile
Milan Crha d17f923f92 Reorganize directory structure
Let's have it as it's common to be, which means top level src/ for
sources, single data/ for data, and so on.
2016-10-11 19:30:18 +02:00

22 lines
430 B
Makefile

# this is only a temporary makefile
# you need ps2eps, groff, pnmutils, and ghostscript installed
PICS=e-config-flow.pic e-popup-merge-1.pic e-popup-merge-2.pic
EPS=$(PICS:.pic=.eps)
PNG=$(PICS:.pic=.png)
all: $(PNG)
%.eps: %.pic
groff -p $^ | ps2eps -f -l > $@
%.png: %.pic
groff -p $^ \
| gs -q -dSAFER -dNOPAUSE -dBATCH -r180 -sDEVICE=pnmraw -sOutputFile=- - -c quit \
| pnmcrop \
| pnmscale 0.5 \
| pnmtopng > $@