2 PROTOFONTS=R I B BI CR CI CB CBI
14 @(charwidth=`expr $(RES) / $(CPI)` ; \
15 sed -e "s/^name [A-Z]*$$/name $@/" \
16 -e "s/^\\([^ ]*\\) [0-9]+ /\\1 $$charwidth /" \
17 -e "s/^spacewidth [0-9]+$$/spacewidth $$charwidth/" \
18 -e "s/^internalname .*$$/internalname $@/" \
19 -e "/^internalname/s/CR/4/" \
20 -e "/^internalname/s/BI/3/" \
21 -e "/^internalname/s/B/2/" \
22 -e "/^internalname/s/I/1/" \
23 -e "/^internalname .*[^ 0-9]/d" \
24 $(srcdir)/R.proto >$@)
29 @sed -e "s/^res .*$$/res $(RES)/" \
30 -e "s/^hor .*$$/hor `expr $(RES) / $(CPI)`/" \
31 -e "s/^vert .*$$/vert `expr $(RES) / $(LPI)`/" \
32 -e "s/^fonts .*$$/fonts `set $(FONTS); echo $$#` $(FONTS)/" \
33 $(srcdir)/DESC.proto >$@
34 @echo "image_generator $(GHOSTSCRIPT)" >> $@