1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
# Copyright (C) 2000,2001,2003 Anton Kirilov Zinoviev
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
SHELL = /bin/bash
all: build
unpack:
-mkdir fonts
-mkdir teams
tar zxf teams-1.1.tar.gz -C teams
cp teams/teams/Teams/*.{pfa,afm} fonts
-mkdir urw
tar jxf urw-fonts-1.0.7pre40-src.tar.bz2 -C urw
cat fontnames | while read a b; do mv -v $$a $$b; done
touch unpack
convert: unpack
-mkdir texfonts
./convert_fonts
touch convert
t1-cyrillic-fonts.alias: hint.awk hintinfo
awk -f hint.awk -v cat=alias -v pkg=t1-cyrillic <hintinfo >$@
t1-teams-fonts.alias: hint.awk hintinfo
awk -f hint.awk -v cat=alias -v pkg=t1-teams <hintinfo >$@
t1-cyrillic-fonts.scale: hint.awk hintinfo
awk -f hint.awk -v cat=scale -v pkg=t1-cyrillic <hintinfo >$@
t1-teams-fonts.scale: hint.awk hintinfo
awk -f hint.awk -v cat=scale -v pkg=t1-teams <hintinfo >$@
fonts.alias: t1-cyrillic-fonts.alias t1-teams-fonts.alias
fonts.scale: t1-cyrillic-fonts.scale t1-teams-fonts.scale
build: convert fonts.alias fonts.scale scalable-cyrfonts-tex.map
cd fontinst && $(MAKE) all
touch build
scalable-cyrfonts-tex.map: hint.awk hintinfo
awk -f hint.awk -v cat=texfontmap <hintinfo | sort >scalable-cyrfonts-tex.map
clean:
-rm -f unpack convert makeafm1 makeafm2 makeafm makeraw1 makeraw2 makeraw3 makepfa makepfb build
-rm -rf *~
-rm -rf teams urw fonts
-rm -rf RAW Teams URW afm1 raw1 raw3 afm2 raw2 afm pfa pfb doc
-rm -f *fonts.alias *fonts.scale Fontmap scalable-cyrfonts-tex.map
-rm -rf fontinst/*.pfb fontinst/*.pfa
-cd fontinst && $(MAKE) clean
-rm -rf texfonts/ cidfonts/
checkroot:
test root = "`whoami`"
.PHONY: clean checkroot
|