blob: 58c9da9716f2f1743ab17e62ce381d4ed05799c7 (
plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
|
################################################################################
#
# Makefile : teTeX specific
# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <04/03/20 16:18:10 popineau>
#
################################################################################
root_srcdir = ..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif
USE_GNUW32 = 1
USE_GSW32 = 1
USE_KPATHSEA = 1
USE_ADVAPI = 1
!include <msvc/common.mak>
{$(texmfdist)\tex\context\perltk}.pl{$(objdir)}.exe:
$(perlcomp) $(perlcompflags) $<
{$(texmfdist:-development=)\tex\context\perltk}.pl{$(objdir)}.exe:
$(perlcomp) $(perlcompflags) $<
{}.{$(objdir)}.exe:
$(perlcomp) $(perlcompflags) $<
#perlscript = texdoctk e2pall texi2pdf thumbpdf
infofiles= latex.info # latex.info-1 latex.info-2 latex.info-3
htmldocfiles = latex.html
pdfdocfiles = latex.pdf
docsubdir = latex\base
programs= \
# # $(objdir)\dvi2fax.exe \
# # $(objdir)\ps2frag.exe \
# # $(objdir)\texconfig.exe \
# # $(objdir)\dvired.exe \
# # $(objdir)\pslatex.exe \
# $(objdir)\texi2html.exe \
# # $(objdir)\allcm.exe \
# # $(objdir)\allneeded.exe \
# # $(objdir)\fontexport.exe \
# # $(objdir)\fontimport.exe \
# # $(objdir)\kpsetool.exe \
# # $(objdir)\mkfontdesc.exe \
# # $(objdir)\MakeTeXPK.Exe \
# # $(objdir)\fontinst.exe \
# # $(objdir)\rubibtex.exe \
# # $(objdir)\rumakeindex.exe \
# # $(objdir)\fmtutil.exe \
# # $(objdir)\texdoc.exe \
# # $(objdir)\texlinks.exe \
# $(objdir)\texexec.exe \
# $(objdir)\texdoctk.exe \
# $(objdir)\e2pall.exe \
# $(objdir)\epstopdf.exe \
# # $(objdir)\texi2pdf.exe \
# $(objdir)\thumbpdf.exe \
# $(objdir)\makempy.exe \
# # $(objdir)\mptopdf.exe \
# $(objdir)\texshow.exe \
# $(objdir)\texfind.exe \
# $(objdir)\texfont.exe \
# $(objdir)\texutil.exe \
# $(objdir)\updmap.exe \
# $(objdir)\fdf2tan.exe \
# $(objdir)\makempy.exe \
# $(objdir)\vpe.exe \
fontinst.bat \
# $(objdir)\rubibtex.bat
#
# teTeX perl scripts go to texmf rather than to texmf-dist
#
perlscriptdir = $(texmf)\scripts\tetex
tetexperlscripts = \
e2pall.pl \
epstopdf.pl \
texdoctk.pl \
texi2html.pl \
thumbpdf.pl \
updmap.pl
#
# ConTeXt perl scripts are distribution independent
#
perlscripts = \
$(texmfdist)\scripts\context\perltk\texexec.pl \
$(texmfdist)\scripts\context\perltk\makempy.pl \
$(texmfdist)\scripts\context\perltk\texshow.pl \
$(texmfdist)\scripts\context\perltk\texfind.pl \
$(texmfdist)\scripts\context\perltk\texfont.pl \
$(texmfdist)\scripts\context\perltk\texutil.pl \
$(texmfdist)\scripts\context\perltk\fdf2tan.pl \
$(texmfdist)\scripts\context\perltk\mptopdf.pl
# manfiles = \
# allec.$(manext) \
# einitex.$(manext) \
# elatex.$(manext) \
# evirtex.$(manext) \
# inimf.$(manext) \
# inimpost.$(manext) \
# iniomega.$(manext) \
# initex.$(manext) \
# kpsepath.$(manext) \
# kpsexpand.$(manext) \
# lambda.$(manext) \
# pdfinitex.$(manext) \
# pdfvirtex.$(manext) \
# texhash.$(manext) \
# virmf.$(manext) \
# virmpost.$(manext) \
# viromega.$(manext) \
# virtex.$(manext) \
# pdflatex.$(manext) \
# MakeTeXPK.$(manext) \
# cont-de.$(manext) \
# cont-nl.$(manext) \
# cont-en.$(manext)
manfiles = \
allcm.$(manext) \
allec.$(manext) \
allneeded.$(manext) \
dvi2fax.$(manext) \
dvired.$(manext) \
e2pall.$(manext) \
epstopdf.$(manext) \
fontexport.$(manext) \
fontimport.$(manext) \
fontinst.$(manext) \
kpsepath.$(manext) \
kpsetool.$(manext) \
kpsexpand.$(manext) \
ps2frag.$(manext) \
pslatex.$(manext) \
rubibtex.$(manext) \
rumakeindex.$(manext) \
texconfig.$(manext) \
texdoc.$(manext) \
texexec.$(manext) \
texi2html.$(manext) \
# texi2pdf.$(manext) \
texshow.$(manext) \
texutil.$(manext) \
thumbpdf.$(manext) \
texdoctk.$(manext) \
fmtutil.8 \
mkfontdesc.8 \
texlinks.8 \
fmtutil.cnf.5
default: all
all: $(objdir) $(programs)
#$(objdir)\epstopdf.exe: $(objdir)\epstopdf.obj $(gsw32lib) $(kpathsealib)
# $(link) $(advapiflags) $(**) $(conlibs) $(advapilibs)
e2pall.pl: e2pall
$(sed) -e "1,2d" < $(**) > $@
epstopdf.pl: epstopdf
$(sed) -e "1,2d" < $(**) > $@
texi2html.pl: texi2html
$(sed) -e "1,2d" < $(**) > $@
texdoctk.pl: texdoctk
$(sed) -e "1,2d" < $(**) > $@
# texi2pdf.pl: texi2pdf
# $(sed) -e "1,2d" < $(**) > $@
thumbpdf.pl: thumbpdf
$(sed) -e "1,2d" < $(**) > $@
# $(objdir)\e2pall.exe: e2pall
# $(perlcomp) $(perlcompflags) $(**)
#
# $(objdir)\epstopdf.exe: epstopdf
# $(perlcomp) $(perlcompflags) $(**)
#
# $(objdir)\texi2html.exe: texi2html
# $(perlcomp) $(perlcompflags) $(**)
#
# $(objdir)\texdoctk.exe: texdoctk
# $(perlcomp) $(perlcompflags) $(**)
#
# # $(objdir)\texi2pdf.exe: texi2pdf
#
# $(objdir)\thumbpdf.exe: thumbpdf
# $(perlcomp) $(perlcompflags) $(**)
#
# $(objdir)\updmap.exe: updmap.pl
# $(perlcomp) $(perlcompflags) $(**)
#
# $(objdir)\vpe.exe: vpe.pl
# $(perlcomp) $(perlcompflags) $(**)
!include <msvc/config.mak>
installdirs = "$(perlscriptdir)"
!include <msvc/install.mak>
install:: install-exec install-man install-info install-doc
install-exec:: $(tetexperlscripts) # $(scripts) $(pdfscripts) $(runperl) $(programs)
-@echo $(verbose) & ( \
if not "$(tetexperlscripts)"=="" ( \
for %%s in ($(tetexperlscripts)) do \
$(copy) %%s $(perlscriptdir)\%%s $(redir_stdout) \
& $(perlcomp) $(perlcompflags) %%s >> $(win32perldir)\perlfiles.lst \
& $(runperl) -f %%~nxs $(bindir)\%%~ns.exe $(redir_stderr) \
) \
)
-@echo $(verbose) & ( \
if not "$(perlscripts)"=="" ( \
for %%s in ($(perlscripts)) do \
$(perlcomp) $(perlcompflags) %%s >> $(win32perldir)\perlfiles.lst \
& $(runperl) -f %%~nxs $(bindir)\%%~ns.exe $(redir_stderr) \
) \
)
# -@$(del) $(scriptdir)\allec.* $(scriptdir)\kpsepath.* $(scriptdir)\kpsexpand.* $(scriptdir)\texhash.*
# & ln -s allcm allec; \
# & ln -s kpsetool kpsepath; \
# & ln -s kpsetool kpsexpand;
# We should use irun instead of copy here, but there is not much space to gain.
-@echo $(verbose) & ( \
pushd $(scriptdir) & $(copy) .\mktexlsr.exe $(scriptdir)\texhash.exe & popd \
) $(redir_stdout)
latex.texi: latex2e.texi
@$(copy) $(**) $@ $(redir_stdout)
clean::
-@for %%i in ($(scripts) $(pdfscripts)) do $(del) %%i
-@$(del) *.pdf *.html fmtutil.cnf
-@$(del) e2pall.pl epstopdf.pl texi2html.pl texdoctk.pl thumbpdf.pl
depend::
!include <msvc/clean.mak>
!include <msvc/rdepend.mak>
!include "./depend.mak"
# Local Variables:
# mode: Makefile
# End:
|