| 1 |
# --------------------------------------------------------------- |
| 2 |
|
| 3 |
SRCDIR=kerntest |
| 4 |
INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/kerntest |
| 5 |
DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/kerntest |
| 6 |
SOURCEDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/source/latex/kerntest |
| 7 |
VERSION=`grep -e '\\[.*\\]' krntst-v.tex | sed 's/ \\[[0-9/]* *\\([v0-9]*\\)\\.\\([0-9]*\\).*\\]/\\1_\\2/'` |
| 8 |
|
| 9 |
TEX= \ |
| 10 |
kerntest.cls \ |
| 11 |
ly1mtx.clo \ |
| 12 |
ot1mtx.clo \ |
| 13 |
t1mtx.clo \ |
| 14 |
t2amtx.clo \ |
| 15 |
t2bmtx.clo \ |
| 16 |
ts1mtx.clo \ |
| 17 |
|
| 18 |
DOC= \ |
| 19 |
kerntest.pdf \ |
| 20 |
t1-XXX-m-n.tex \ |
| 21 |
ts1-XXX-m-n.tex \ |
| 22 |
ot1-XXX-m-n.tex \ |
| 23 |
schoolb.map \ |
| 24 |
schoolb1.tex \ |
| 25 |
schoolb2.tex \ |
| 26 |
t1-9nc-m-n-1.tex \ |
| 27 |
t1-9nc-m-n-2.tex \ |
| 28 |
t1-cmr-m-n-1200.tex \ |
| 29 |
t1-ptm-m-n.tex \ |
| 30 |
t1-ptm-bx-n-example.tex \ |
| 31 |
t1cmr-1200.fd \ |
| 32 |
t1-ptm-m-n-shortexample.tex \ |
| 33 |
testschoolb.tex \ |
| 34 |
README \ |
| 35 |
ChangeLog \ |
| 36 |
ToDo \ |
| 37 |
kerntest.xml \ |
| 38 |
|
| 39 |
SOURCE= \ |
| 40 |
Makefile \ |
| 41 |
kerntest.dtx \ |
| 42 |
kerntest.ins \ |
| 43 |
|
| 44 |
# --------------------------------------------------------------- |
| 45 |
|
| 46 |
.SUFFIXES: .cls .ins .dtx .dvi .ps .pdf |
| 47 |
|
| 48 |
# --------------------------------------------------------------- |
| 49 |
.ins.cls: |
| 50 |
latex $< |
| 51 |
|
| 52 |
.dtx.pdf: |
| 53 |
pdflatex $< |
| 54 |
pdflatex $< |
| 55 |
makeindex -s gind.ist $(*D)/$(*F) |
| 56 |
makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo |
| 57 |
pdflatex $< |
| 58 |
|
| 59 |
.dvi.ps: |
| 60 |
dvips -o $(*D)/$(*F).ps $(*D)/$(*F) |
| 61 |
|
| 62 |
# --------------------------------------------------------------- |
| 63 |
|
| 64 |
all: kerntest.cls |
| 65 |
|
| 66 |
dist: all t1-ptm-bx-n-example.pdf t1-ptm-m-n-shortexample.pdf \ |
| 67 |
testschoolb-2.pdf kerntest.pdf |
| 68 |
|
| 69 |
# --------------------------------------------------------------- |
| 70 |
|
| 71 |
t1-ptm-bx-n-example.pdf: t1-ptm-bx-n-example.tex kerntest.cls |
| 72 |
latex t1-ptm-bx-n-example |
| 73 |
latex t1-ptm-bx-n-example |
| 74 |
latex t1-ptm-bx-n-example |
| 75 |
dvips -E -o t1-ptm-bx-n-example.ps t1-ptm-bx-n-example |
| 76 |
epstopdf t1-ptm-bx-n-example.ps |
| 77 |
|
| 78 |
t1-ptm-m-n-shortexample.pdf: t1-ptm-m-n-shortexample.tex kerntest.cls |
| 79 |
latex t1-ptm-m-n-shortexample |
| 80 |
latex t1-ptm-m-n-shortexample |
| 81 |
latex t1-ptm-m-n-shortexample |
| 82 |
dvips -E -o t1-ptm-m-n-shortexample.ps t1-ptm-m-n-shortexample |
| 83 |
epstopdf t1-ptm-m-n-shortexample.ps |
| 84 |
|
| 85 |
# --------------------------------------------------------------- |
| 86 |
|
| 87 |
clean: |
| 88 |
@-rm -f kerntest.glo kerntest.gls kerntest.idx kerntest.ilg |
| 89 |
@-rm -f kerntest.ind kerntest.aux kerntest.log kerntest.toc |
| 90 |
@-rm -f *~ |
| 91 |
@-rm -f t1-ptm-bx-n-example.aux t1-ptm-bx-n-example.dvi |
| 92 |
@-rm -f t1-ptm-bx-n-example.log t1-ptm-bx-n-example.ps |
| 93 |
@-rm -f t1-ptm-m-n-shortexample.aux t1-ptm-m-n-shortexample.dvi |
| 94 |
@-rm -f t1-ptm-m-n-shortexample.log t1-ptm-m-n-shortexample.ps |
| 95 |
@-rm -f t1-ptm-m-n-shortexample.mtx |
| 96 |
@-rm -f testschoolb.dvi testschoolb-2.ps |
| 97 |
@-rm -f testschoolb.aux testschoolb.log |
| 98 |
@-rm -f c059013l.mtx c059013l.pl 9ncr8?.mtx 9ncr8?.pl 9ncr8?.vpl |
| 99 |
@-rm -f t1-9nc-m-n-1.dvi t1-9nc-m-n-1.ps |
| 100 |
@-rm -f t1-9nc-m-n-1.aux t1-9nc-m-n-1.log |
| 101 |
@-rm -f t1-9nc-m-n-2.dvi t1-9nc-m-n-2.ps |
| 102 |
@-rm -f t1-9nc-m-n-2.aux t1-9nc-m-n-2.log |
| 103 |
@-rm -f t1-9nc-m-n-2.mtx |
| 104 |
@-rm -f schoolb1.log schoolb2.log |
| 105 |
@-rm -f t1-cmr-m-n-1200.aux t1-cmr-m-n-1200.log t1-cmr-m-n-1200.mtx |
| 106 |
|
| 107 |
distclean: clean |
| 108 |
@-rm -f kerntest.cls *mtx.clo |
| 109 |
@-rm -f krntst-v.tex |
| 110 |
@-rm -f t1-ptm-bx-n-example.mtx t1-ptm-bx-n-example.pdf |
| 111 |
@-rm -f t1-ptm-m-n-shortexample.pdf |
| 112 |
@-rm -f t*19nc.fd 9ncr8?.tfm 9ncr8?.vf |
| 113 |
@-rm -f t1-XXX-m-n.tex ts1-XXX-m-n.tex ot1-XXX-m-n.tex |
| 114 |
@-rm -f t1-9nc-m-n-1.pdf t1-9nc-m-n-1.mtx |
| 115 |
@-rm -f t1-9nc-m-n-2.pdf |
| 116 |
@-rm -f t1-cmr-m-n-1200.dvi t1-cmr-m-n-1200.pdf |
| 117 |
@-rm -f testschoolb-1.pdf testschoolb-2.pdf |
| 118 |
|
| 119 |
# --------------------------------------------------------------- |
| 120 |
|
| 121 |
tar: dist clean |
| 122 |
echo Lege kerntest-$(VERSION).tar.gz an |
| 123 |
-rm -f kerntest-$(VERSION).tar.gz |
| 124 |
tar czCf .. kerntest-$(VERSION).tar.gz \ |
| 125 |
$(SRCDIR)/README \ |
| 126 |
$(SRCDIR)/ChangeLog \ |
| 127 |
$(SRCDIR)/ToDo \ |
| 128 |
$(SRCDIR)/Makefile \ |
| 129 |
$(SRCDIR)/kerntest.dtx \ |
| 130 |
$(SRCDIR)/kerntest.ins \ |
| 131 |
$(SRCDIR)/kerntest.pdf \ |
| 132 |
$(SRCDIR)/kerntest.xml \ |
| 133 |
$(SRCDIR)/schoolb.map \ |
| 134 |
$(SRCDIR)/schoolb1.tex \ |
| 135 |
$(SRCDIR)/schoolb2.tex \ |
| 136 |
$(SRCDIR)/t1-9nc-m-n-1.tex \ |
| 137 |
$(SRCDIR)/t1-9nc-m-n-2.tex \ |
| 138 |
$(SRCDIR)/t1-ptm-bx-n-example.tex \ |
| 139 |
$(SRCDIR)/t1-ptm-m-n-shortexample.tex \ |
| 140 |
$(SRCDIR)/t1-ptm-m-n.tex \ |
| 141 |
$(SRCDIR)/t1-cmr-m-n-1200.tex \ |
| 142 |
$(SRCDIR)/t1cmr-1200.fd \ |
| 143 |
$(SRCDIR)/testschoolb.tex \ |
| 144 |
|
| 145 |
# --------------------------------------------------------------- |
| 146 |
|
| 147 |
texlive: all clean |
| 148 |
@-rm -rf texmf |
| 149 |
mkdir -p texmf/tex/latex/kerntest |
| 150 |
mkdir -p texmf/doc/latex/kerntest |
| 151 |
mkdir -p texmf/source/latex/kerntest |
| 152 |
cp $(TEX) texmf/tex/latex/kerntest |
| 153 |
cp $(DOC) texmf/doc/latex/kerntest |
| 154 |
cp $(SOURCE) texmf/source/latex/kerntest |
| 155 |
|
| 156 |
# --------------------------------------------------------------- |
| 157 |
|
| 158 |
zip: texlive |
| 159 |
-@rm -f kerntest-$(VERSION).zip |
| 160 |
zip -r kerntest-$(VERSION).zip texmf |
| 161 |
@-rm -r texmf/ |
| 162 |
|
| 163 |
# --------------------------------------------------------------- |
| 164 |
|
| 165 |
install: all |
| 166 |
if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR); fi |
| 167 |
if [ ! -d $(DOCDIR) ]; then mkdir -p $(DOCDIR); fi |
| 168 |
if [ ! -d $(SOURCEDIR) ]; then mkdir -p $(SOURCEDIR); fi |
| 169 |
install -m644 $(TEX) $(INSTALLDIR) |
| 170 |
install -m644 $(DOC) $(DOCDIR) |
| 171 |
install -m644 $(SOURCE) $(SOURCEDIR) |
| 172 |
texhash |
| 173 |
|
| 174 |
# --------------------------------------------------------------- |
| 175 |
|
| 176 |
testschoolb-2.pdf: c059013l.pfb c059013l.afm schoolb1.tex schoolb2.tex \ |
| 177 |
t1-9nc-m-n-1.tex t1-9nc-m-n-2.tex Makefile testschoolb.tex \ |
| 178 |
kerntest.cls |
| 179 |
tex schoolb1 |
| 180 |
pltotf 9ncr8r.pl |
| 181 |
vptovf 9ncr8c.vpl |
| 182 |
vptovf 9ncr8t.vpl |
| 183 |
@-rm -f c059013l.mtx c059013l.pl 9ncr8?.mtx 9ncr8?.pl 9ncr8?.vpl |
| 184 |
# |
| 185 |
latex testschoolb |
| 186 |
dvips -E -u +./schoolb.map -o testschoolb-1.ps testschoolb |
| 187 |
epstopdf testschoolb-1.ps |
| 188 |
@-rm -f testschoolb.dvi testschoolb-1.ps |
| 189 |
@-rm -f testschoolb.aux testschoolb.log |
| 190 |
# |
| 191 |
latex t1-9nc-m-n-1 |
| 192 |
latex t1-9nc-m-n-1 |
| 193 |
latex t1-9nc-m-n-1 |
| 194 |
dvips -E -u +./schoolb.map -o t1-9nc-m-n-1.ps t1-9nc-m-n-1 |
| 195 |
epstopdf t1-9nc-m-n-1.ps |
| 196 |
@-rm -f t1-9nc-m-n-1.dvi t1-9nc-m-n-1.ps |
| 197 |
@-rm -f t1-9nc-m-n-1.aux t1-9nc-m-n-1.log |
| 198 |
# |
| 199 |
tex schoolb2 |
| 200 |
pltotf 9ncr8r.pl |
| 201 |
vptovf 9ncr8c.vpl |
| 202 |
vptovf 9ncr8t.vpl |
| 203 |
@-rm -f c059013l.mtx c059013l.pl 9ncr8?.mtx 9ncr8?.pl 9ncr8?.vpl |
| 204 |
# |
| 205 |
latex testschoolb |
| 206 |
dvips -E -u +./schoolb.map -o testschoolb-2.ps testschoolb |
| 207 |
epstopdf testschoolb-2.ps |
| 208 |
@-rm -f testschoolb.dvi testschoolb-2.ps |
| 209 |
@-rm -f testschoolb.aux testschoolb.log |
| 210 |
# |
| 211 |
latex t1-9nc-m-n-2 |
| 212 |
latex t1-9nc-m-n-2 |
| 213 |
latex t1-9nc-m-n-2 |
| 214 |
dvips -E -u +./schoolb.map -o t1-9nc-m-n-2.ps t1-9nc-m-n-2 |
| 215 |
epstopdf t1-9nc-m-n-2.ps |
| 216 |
@-rm -f t1-9nc-m-n-2.dvi t1-9nc-m-n-2.ps |
| 217 |
@-rm -f t1-9nc-m-n-2.aux t1-9nc-m-n-2.log |
| 218 |
@-rm -f t1-9nc-m-n-2.mtx |
| 219 |
|
| 220 |
# --------------------------------------------------------------- |
| 221 |
|
| 222 |
kerntest.cls: kerntest.ins kerntest.dtx |
| 223 |
kerntest.pdf: kerntest.ins kerntest.dtx t1-ptm-bx-n-example.pdf \ |
| 224 |
t1-ptm-m-n-shortexample.pdf schoolb1.tex testschoolb-2.pdf |
| 225 |
|
| 226 |
# --------------------------------------------------------------- |
| 227 |
|