File: Makefile

package info (click to toggle)
evolution 3.56.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 135,044 kB
  • sloc: ansic: 519,950; javascript: 8,494; xml: 5,207; python: 702; makefile: 563; sh: 294; perl: 169
file content (21 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# 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 > $@