sync with experimental
[luatex.git] / source / texk / texlive / linked_scripts / Makefile.in
blobc4abd36abc018b9d1d5237c38a4ad6400e3e9b0c
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 VPATH = @srcdir@
18 am__is_gnu_make = { \
19 if test -z '$(MAKELEVEL)'; then \
20 false; \
21 elif test -n '$(MAKE_HOST)'; then \
22 true; \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24 true; \
25 else \
26 false; \
27 fi; \
29 am__make_running_with_option = \
30 case $${target_option-} in \
31 ?) ;; \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
34 exit 1;; \
35 esac; \
36 has_opt=no; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
40 else \
41 case $$MAKEFLAGS in \
42 *\\[\ \ ]*) \
43 bs=\\; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46 esac; \
47 fi; \
48 skip_next=no; \
49 strip_trailopt () \
50 { \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 }; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
55 case $$flg in \
56 *=*|--*) continue;; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
65 esac; \
66 case $$flg in \
67 *$$target_option*) has_opt=yes; break;; \
68 esac; \
69 done; \
70 test $$has_opt = yes
71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73 pkgdatadir = $(datadir)/@PACKAGE@
74 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkglibexecdir = $(libexecdir)/@PACKAGE@
77 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78 install_sh_DATA = $(install_sh) -c -m 644
79 install_sh_PROGRAM = $(install_sh) -c
80 install_sh_SCRIPT = $(install_sh) -c
81 INSTALL_HEADER = $(INSTALL_DATA)
82 transform = $(program_transform_name)
83 NORMAL_INSTALL = :
84 PRE_INSTALL = :
85 POST_INSTALL = :
86 NORMAL_UNINSTALL = :
87 PRE_UNINSTALL = :
88 POST_UNINSTALL = :
89 subdir = linked_scripts
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-win32.m4 \
92 $(top_srcdir)/../../version.ac $(top_srcdir)/ac/texlive.ac \
93 $(top_srcdir)/configure.ac
94 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
95 $(ACLOCAL_M4)
96 DIST_COMMON = $(srcdir)/Makefile.am \
97 $(nobase_dist_texmf_scripts_SCRIPTS) $(am__DIST_COMMON)
98 mkinstalldirs = $(install_sh) -d
99 CONFIG_CLEAN_FILES =
100 CONFIG_CLEAN_VPATH_FILES =
101 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
102 am__vpath_adj = case $$p in \
103 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
104 *) f=$$p;; \
105 esac;
106 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
107 am__install_max = 40
108 am__nobase_strip_setup = \
109 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
110 am__nobase_strip = \
111 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
112 am__nobase_list = $(am__nobase_strip_setup); \
113 for p in $$list; do echo "$$p $$p"; done | \
114 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
115 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
116 if (++n[$$2] == $(am__install_max)) \
117 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
118 END { for (dir in files) print dir, files[dir] }'
119 am__base_list = \
120 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
121 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
122 am__uninstall_files_from_dir = { \
123 test -z "$$files" \
124 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
125 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
126 $(am__cd) "$$dir" && rm -f $$files; }; \
128 am__installdirs = "$(DESTDIR)$(texmf_scriptsdir)"
129 SCRIPTS = $(nobase_dist_texmf_scripts_SCRIPTS)
130 AM_V_P = $(am__v_P_@AM_V@)
131 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
132 am__v_P_0 = false
133 am__v_P_1 = :
134 AM_V_GEN = $(am__v_GEN_@AM_V@)
135 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
136 am__v_GEN_0 = @echo " GEN " $@;
137 am__v_GEN_1 =
138 AM_V_at = $(am__v_at_@AM_V@)
139 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
140 am__v_at_0 = @
141 am__v_at_1 =
142 SOURCES =
143 DIST_SOURCES =
144 am__can_run_installinfo = \
145 case $$AM_UPDATE_INFO_DIR in \
146 n|no|NO) false;; \
147 *) (install-info --version) >/dev/null 2>&1;; \
148 esac
149 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
150 am__DIST_COMMON = $(srcdir)/Makefile.in ChangeLog
151 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
152 ACLOCAL = @ACLOCAL@
153 AMTAR = @AMTAR@
154 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
155 AUTOCONF = @AUTOCONF@
156 AUTOHEADER = @AUTOHEADER@
157 AUTOMAKE = @AUTOMAKE@
158 AWK = @AWK@
159 CC = @CC@
160 CCDEPMODE = @CCDEPMODE@
161 CFLAGS = @CFLAGS@
162 CPPFLAGS = @CPPFLAGS@
163 CYGPATH_W = @CYGPATH_W@
164 DEFS = @DEFS@
165 DEPDIR = @DEPDIR@
166 ECHO_C = @ECHO_C@
167 ECHO_N = @ECHO_N@
168 ECHO_T = @ECHO_T@
169 EXEEXT = @EXEEXT@
170 INSTALL = @INSTALL@
171 INSTALL_DATA = @INSTALL_DATA@
172 INSTALL_PROGRAM = @INSTALL_PROGRAM@
173 INSTALL_SCRIPT = @INSTALL_SCRIPT@
174 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
175 LDFLAGS = @LDFLAGS@
176 LIBOBJS = @LIBOBJS@
177 LIBS = @LIBS@
178 LN_S = @LN_S@
179 LTLIBOBJS = @LTLIBOBJS@
180 MAINT = @MAINT@
181 MAKEINFO = @MAKEINFO@
182 MKDIR_P = @MKDIR_P@
183 OBJEXT = @OBJEXT@
184 PACKAGE = @PACKAGE@
185 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
186 PACKAGE_NAME = @PACKAGE_NAME@
187 PACKAGE_STRING = @PACKAGE_STRING@
188 PACKAGE_TARNAME = @PACKAGE_TARNAME@
189 PACKAGE_URL = @PACKAGE_URL@
190 PACKAGE_VERSION = @PACKAGE_VERSION@
191 PATH_SEPARATOR = @PATH_SEPARATOR@
192 SET_MAKE = @SET_MAKE@
193 SHELL = @SHELL@
194 STRIP = @STRIP@
195 VERSION = @VERSION@
196 WIN_WRAPPER = @WIN_WRAPPER@
197 abs_builddir = @abs_builddir@
198 abs_srcdir = @abs_srcdir@
199 abs_top_builddir = @abs_top_builddir@
200 abs_top_srcdir = @abs_top_srcdir@
201 ac_ct_CC = @ac_ct_CC@
202 am__include = @am__include@
203 am__leading_dot = @am__leading_dot@
204 am__quote = @am__quote@
205 am__tar = @am__tar@
206 am__untar = @am__untar@
207 bindir = @bindir@
208 build_alias = @build_alias@
209 builddir = @builddir@
210 datadir = @datadir@
211 datarootdir = @datarootdir@
212 docdir = @docdir@
213 dvidir = @dvidir@
214 exec_prefix = @exec_prefix@
215 host_alias = @host_alias@
216 htmldir = @htmldir@
217 includedir = @includedir@
218 infodir = @infodir@
219 install_sh = @install_sh@
220 libdir = @libdir@
221 libexecdir = @libexecdir@
222 localedir = @localedir@
223 localstatedir = @localstatedir@
224 mandir = @mandir@
225 mkdir_p = @mkdir_p@
226 oldincludedir = @oldincludedir@
227 pdfdir = @pdfdir@
228 prefix = @prefix@
229 program_transform_name = @program_transform_name@
230 psdir = @psdir@
231 sbindir = @sbindir@
232 sharedstatedir = @sharedstatedir@
233 srcdir = @srcdir@
234 sysconfdir = @sysconfdir@
235 target_alias = @target_alias@
236 top_build_prefix = @top_build_prefix@
237 top_builddir = @top_builddir@
238 top_srcdir = @top_srcdir@
239 DISTCLEANFILES = scripts-list
241 # The idea is to install the scripts themselves in texmf*/scripts, and
242 # have bin/arch/foo be a symlink to, say,
243 # ../../texmf-dist/scripts/foo/foo.pl. That way we save a bit of disk
244 # space, but more importantly omit duplication, and most
245 # importantly of all make it possible to invoke the same Perl script on
246 # Windows (see ../$(WIN_WRAPPER)).
248 # The installation into texmf*/scripts is ideally done with ctan2tl.
249 # The copy of the wrapper for Windows is also done by ctan2tl. (And
250 # for shell scripts, its addition must be undone by hand.) The
251 # check-wrapper-consistency script checks after the fact for problems.
253 # We also keep a copy of all the scripts here and install into the runtime.
254 # This is purely for other distro builders, so symlinks are not dangling in
255 # the inst/bin dir (it is meaningless in native TL). We have not yet
256 # written the auto-update to ensure linked_scripts is actually up to date
257 # with the masters in Master/texmf*/scripts, but one day.
259 # We support native builds, multiplatform or not, as well as distro builds.
261 EXTRA_DIST = scripts.lst context/stubs/unix/ctxtools \
262 context/stubs/unix/pstopdf ../../../build-aux/relpath
264 # Copies of these scripts exist here for the sake of avoiding
265 # dangling symlinks produced by `make install'.
266 # The instances in texmf* are the masters (except when it is CTAN).
268 texmf_scriptsdir = $(datarootdir)/texmf-dist/scripts
269 texmf_shell_scripts = \
270 adhocfilelist/adhocfilelist.sh \
271 bibexport/bibexport.sh \
272 checklistings/checklistings.sh \
273 dtxgen/dtxgen \
274 installfont/installfont-tl \
275 latexfileversion/latexfileversion \
276 listbib/listbib \
277 listings-ext/listings-ext.sh \
278 ltxfileinfo/ltxfileinfo \
279 lua2dox/lua2dox_filter \
280 pdfbook2/pdfbook2 \
281 pdfjam/pdf180 \
282 pdfjam/pdf270 \
283 pdfjam/pdf90 \
284 pdfjam/pdfbook \
285 pdfjam/pdfflip \
286 pdfjam/pdfjam \
287 pdfjam/pdfjam-pocketmod \
288 pdfjam/pdfjam-slides3up \
289 pdfjam/pdfjam-slides6up \
290 pdfjam/pdfjoin \
291 pdfjam/pdfnup \
292 pdfjam/pdfpun \
293 pdfxup/pdfxup \
294 pst-pdf/ps4pdf \
295 simpdftex/simpdftex \
296 texosquery/texosquery \
297 typeoutfileinfo/typeoutfileinfo.sh
299 texmf_other_scripts = \
300 a2ping/a2ping.pl \
301 accfonts/mkt1font \
302 accfonts/vpl2ovp \
303 accfonts/vpl2vpl \
304 arara/arara.sh \
305 authorindex/authorindex \
306 bundledoc/arlatex \
307 bundledoc/bundledoc \
308 cachepic/cachepic.tlu \
309 checkcites/checkcites.lua \
310 cjk-gs-integrate/cjk-gs-integrate.pl \
311 context/perl/mptopdf.pl \
312 convbkmk/convbkmk.rb \
313 crossrefware/bibdoiadd.pl \
314 crossrefware/bibzbladd.pl \
315 crossrefware/ltx2crossrefxml.pl \
316 ctanify/ctanify \
317 ctanupload/ctanupload.pl \
318 de-macro/de-macro \
319 diadia/diadia.lua \
320 dosepsbin/dosepsbin.pl \
321 dviasm/dviasm.py \
322 ebong/ebong.py \
323 epspdf/epspdf.tlu \
324 epspdf/epspdftk.tcl \
325 epstopdf/epstopdf.pl \
326 exceltex/exceltex \
327 fig4latex/fig4latex \
328 findhyph/findhyph \
329 fontools/afm2afm \
330 fontools/autoinst \
331 fontools/ot2kpx \
332 fragmaster/fragmaster.pl \
333 getmap/getmapdl.lua \
334 glossaries/makeglossaries \
335 glossaries/makeglossaries-lite.lua \
336 jfontmaps/kanji-config-updmap-sys.sh \
337 jfontmaps/kanji-config-updmap.pl \
338 jfontmaps/kanji-fontmap-creator.pl \
339 kotex-utils/jamo-normalize.pl \
340 kotex-utils/komkindex.pl \
341 kotex-utils/ttf2kotexfont.pl \
342 latex-git-log/latex-git-log \
343 latex2man/latex2man \
344 latexdiff/latexdiff-vc.pl \
345 latexdiff/latexdiff.pl \
346 latexdiff/latexrevise.pl \
347 latexindent/latexindent.pl \
348 latexmk/latexmk.pl \
349 latexpand/latexpand \
350 lilyglyphs/lily-glyph-commands.py \
351 lilyglyphs/lily-image-commands.py \
352 lilyglyphs/lily-rebuild-pdfs.py \
353 ltximg/ltximg.pl \
354 luaotfload/luaotfload-tool.lua \
355 m-tx/m-tx.lua \
356 makedtx/makedtx.pl \
357 make4ht/make4ht \
358 match_parens/match_parens \
359 mathspic/mathspic.pl \
360 mf2pt1/mf2pt1.pl \
361 mkgrkindex/mkgrkindex \
362 mkjobtexmf/mkjobtexmf.pl \
363 mkpic/mkpic \
364 multibibliography/multibibliography.pl \
365 musixtex/musixflx.lua \
366 musixtex/musixtex.lua \
367 oberdiek/pdfatfi.pl \
368 pax/pdfannotextractor.pl \
369 pdfcrop/pdfcrop.pl \
370 pdflatexpicscale/pdflatexpicscale.pl \
371 pedigree-perl/pedigree.pl \
372 perltex/perltex.pl \
373 petri-nets/pn2pdf \
374 pfarrei/a5toa4.tlu \
375 pfarrei/pfarrei.tlu \
376 pkfix-helper/pkfix-helper \
377 pkfix/pkfix.pl \
378 pmx/pmx2pdf.lua \
379 pmxchords/pmxchords.lua \
380 pst2pdf/pst2pdf.pl \
381 ptex2pdf/ptex2pdf.lua \
382 purifyeps/purifyeps \
383 pygmentex/pygmentex.py \
384 pythontex/depythontex.py \
385 pythontex/pythontex.py \
386 rubik/rubikrotation.pl \
387 splitindex/splitindex.pl \
388 srcredact/srcredact.pl \
389 sty2dtx/sty2dtx.pl \
390 svn-multi/svn-multi.pl \
391 tex4ebook/tex4ebook \
392 texcount/texcount.pl \
393 texdef/texdef.pl \
394 texdiff/texdiff \
395 texdirflatten/texdirflatten \
396 texdoc/texdoc.tlu \
397 texfot/texfot.pl \
398 texlive/fmtutil-sys.sh \
399 texlive/fmtutil.pl \
400 texlive/rungs.tlu \
401 texlive/tlmgr.pl \
402 texlive/updmap-sys.sh \
403 texlive/updmap.pl \
404 texliveonfly/texliveonfly.py \
405 texloganalyser/texloganalyser \
406 thumbpdf/thumbpdf.pl \
407 ulqda/ulqda.pl \
408 urlbst/urlbst \
409 vpe/vpe.pl \
410 yplan/yplan
412 texmf_context_scripts = \
413 context/stubs/unix/context \
414 context/stubs/unix/contextjit \
415 context/stubs/unix/luatools \
416 context/stubs/unix/mtxrun \
417 context/stubs/unix/mtxrunjit \
418 context/stubs/unix/texexec \
419 context/stubs/unix/texmfstart
421 nobase_dist_texmf_scripts_SCRIPTS = \
422 $(texmf_shell_scripts) \
423 $(texmf_other_scripts) \
424 $(texmf_context_scripts)
426 bin_links = \
427 epstopdf:repstopdf \
428 pdfcrop:rpdfcrop
430 relpath = $(SHELL) $(top_srcdir)/../../build-aux/relpath
431 runscript = $(top_srcdir)/$(WIN_WRAPPER)/runscript.exe
432 ctxscript = $(top_srcdir)/$(WIN_WRAPPER)/context/mtxrun.exe
433 @WIN32_TRUE@WINEXT = $(EXEEXT)
434 shell_scripts = $(texmf_shell_scripts) $(texmf_context_scripts)
435 all: all-am
437 .SUFFIXES:
438 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
439 @for dep in $?; do \
440 case '$(am__configure_deps)' in \
441 *$$dep*) \
442 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
443 && { if test -f $@; then exit 0; else break; fi; }; \
444 exit 1;; \
445 esac; \
446 done; \
447 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign linked_scripts/Makefile'; \
448 $(am__cd) $(top_srcdir) && \
449 $(AUTOMAKE) --foreign linked_scripts/Makefile
450 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
451 @case '$?' in \
452 *config.status*) \
453 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
454 *) \
455 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
456 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
457 esac;
459 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
460 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
462 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
463 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
464 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
465 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
466 $(am__aclocal_m4_deps):
467 install-nobase_dist_texmf_scriptsSCRIPTS: $(nobase_dist_texmf_scripts_SCRIPTS)
468 @$(NORMAL_INSTALL)
469 @list='$(nobase_dist_texmf_scripts_SCRIPTS)'; test -n "$(texmf_scriptsdir)" || list=; \
470 if test -n "$$list"; then \
471 echo " $(MKDIR_P) '$(DESTDIR)$(texmf_scriptsdir)'"; \
472 $(MKDIR_P) "$(DESTDIR)$(texmf_scriptsdir)" || exit 1; \
473 fi; \
474 $(am__nobase_strip_setup); \
475 for p in $$list; do \
476 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
477 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
478 done | \
479 sed -e 'p;s,.*/,,;n' \
480 -e "s|$$srcdirstrip/||" -e 'h;s|[^/]*$$||; s|^$$|.|' \
481 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
482 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
483 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
484 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
485 if (++n[d] == $(am__install_max)) { \
486 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
487 else { print "f", d "/" $$4, $$1 } } \
488 END { for (d in files) print "f", d, files[d] }' | \
489 while read type dir files; do \
490 case $$type in \
491 d) echo " $(MKDIR_P) '$(DESTDIR)$(texmf_scriptsdir)/$$dir'"; \
492 $(MKDIR_P) "$(DESTDIR)$(texmf_scriptsdir)/$$dir" || exit $$?;; \
493 f) \
494 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
495 test -z "$$files" || { \
496 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmf_scriptsdir)$$dir'"; \
497 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmf_scriptsdir)$$dir" || exit $$?; \
499 ;; esac \
500 ; done
502 uninstall-nobase_dist_texmf_scriptsSCRIPTS:
503 @$(NORMAL_UNINSTALL)
504 @list='$(nobase_dist_texmf_scripts_SCRIPTS)'; test -n "$(texmf_scriptsdir)" || exit 0; \
505 $(am__nobase_strip_setup); \
506 files=`$(am__nobase_strip) \
507 -e 'h;s,.*/,,;$(transform);x;s|[^/]*$$||;G;s,\n,,'`; \
508 dir='$(DESTDIR)$(texmf_scriptsdir)'; $(am__uninstall_files_from_dir)
509 tags TAGS:
511 ctags CTAGS:
513 cscope cscopelist:
516 distdir: $(DISTFILES)
517 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
518 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
519 list='$(DISTFILES)'; \
520 dist_files=`for file in $$list; do echo $$file; done | \
521 sed -e "s|^$$srcdirstrip/||;t" \
522 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
523 case $$dist_files in \
524 */*) $(MKDIR_P) `echo "$$dist_files" | \
525 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
526 sort -u` ;; \
527 esac; \
528 for file in $$dist_files; do \
529 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
530 if test -d $$d/$$file; then \
531 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
532 if test -d "$(distdir)/$$file"; then \
533 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
534 fi; \
535 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
536 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
537 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
538 fi; \
539 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
540 else \
541 test -f "$(distdir)/$$file" \
542 || cp -p $$d/$$file "$(distdir)/$$file" \
543 || exit 1; \
544 fi; \
545 done
546 check-am: all-am
547 check: check-am
548 all-am: Makefile $(SCRIPTS) all-local
549 installdirs: installdirs-local
550 for dir in "$(DESTDIR)$(texmf_scriptsdir)"; do \
551 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
552 done
553 install: install-am
554 install-exec: install-exec-am
555 install-data: install-data-am
556 uninstall: uninstall-am
558 install-am: all-am
559 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
561 installcheck: installcheck-am
562 install-strip:
563 if test -z '$(STRIP)'; then \
564 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
565 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
566 install; \
567 else \
568 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
569 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
570 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
572 mostlyclean-generic:
574 clean-generic:
576 distclean-generic:
577 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
578 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
579 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
581 maintainer-clean-generic:
582 @echo "This command is intended for maintainers to use"
583 @echo "it deletes files that may require special tools to rebuild."
584 clean: clean-am
586 clean-am: clean-generic mostlyclean-am
588 distclean: distclean-am
589 -rm -f Makefile
590 distclean-am: clean-am distclean-generic
592 dvi: dvi-am
594 dvi-am:
596 html: html-am
598 html-am:
600 info: info-am
602 info-am:
604 install-data-am: install-nobase_dist_texmf_scriptsSCRIPTS
605 @$(NORMAL_INSTALL)
606 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
607 install-dvi: install-dvi-am
609 install-dvi-am:
611 install-exec-am:
613 install-html: install-html-am
615 install-html-am:
617 install-info: install-info-am
619 install-info-am:
621 install-man:
623 install-pdf: install-pdf-am
625 install-pdf-am:
627 install-ps: install-ps-am
629 install-ps-am:
631 installcheck-am:
633 maintainer-clean: maintainer-clean-am
634 -rm -f Makefile
635 maintainer-clean-am: distclean-am maintainer-clean-generic
637 mostlyclean: mostlyclean-am
639 mostlyclean-am: mostlyclean-generic
641 pdf: pdf-am
643 pdf-am:
645 ps: ps-am
647 ps-am:
649 uninstall-am: uninstall-nobase_dist_texmf_scriptsSCRIPTS
650 @$(NORMAL_INSTALL)
651 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
652 .MAKE: install-am install-data-am install-strip uninstall-am
654 .PHONY: all all-am all-local check check-am clean clean-generic \
655 cscopelist-am ctags-am distclean distclean-generic distdir dvi \
656 dvi-am html html-am info info-am install install-am \
657 install-data install-data-am install-data-hook install-dvi \
658 install-dvi-am install-exec install-exec-am install-html \
659 install-html-am install-info install-info-am install-man \
660 install-nobase_dist_texmf_scriptsSCRIPTS install-pdf \
661 install-pdf-am install-ps install-ps-am install-strip \
662 installcheck installcheck-am installdirs installdirs-local \
663 maintainer-clean maintainer-clean-generic mostlyclean \
664 mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
665 uninstall-am uninstall-hook \
666 uninstall-nobase_dist_texmf_scriptsSCRIPTS
668 .PRECIOUS: Makefile
671 scripts-list: Makefile
672 @echo "Create $@"
673 @echo "texmf_scripts='" >$@
674 @for f in $(nobase_dist_texmf_scripts_SCRIPTS); do echo "$$f"; done >>$@
675 @echo "'" >>$@
676 cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
678 @MAINTAINER_MODE_TRUE@all-local: scripts-list
679 @MAINTAINER_MODE_FALSE@all-local:
681 installdirs-local:
682 $(MKDIR_P) $(DESTDIR)$(bindir)
683 install-data-hook: installdirs-local
684 @WIN32_TRUE@ @for s in $(texmf_other_scripts); do \
685 @WIN32_TRUE@ t=`basename $$s | sed 's,\.[^/]*$$,,' | tr '[A-Z]' '[a-z]'`; \
686 @WIN32_TRUE@ echo "$(INSTALL_SCRIPT) '$(runscript)' '$(DESTDIR)$(bindir)/$$t.exe'"; \
687 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(runscript) $(DESTDIR)$(bindir)/$$t.exe; \
688 @WIN32_TRUE@ done
689 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/$(WIN_WRAPPER)/runscript.dll $(DESTDIR)$(bindir)
690 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/$(WIN_WRAPPER)/runscript.exe $(DESTDIR)$(bindir)
691 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/w32_wrapper/runscript.tlu $(DESTDIR)$(bindir)
692 @WIN32_TRUE@ @for s in $(texmf_context_scripts); do \
693 @WIN32_TRUE@ t=`basename $$s | sed 's,\.[^/]*$$,,' | tr '[A-Z]' '[a-z]'`; \
694 @WIN32_TRUE@ echo "$(INSTALL_SCRIPT) '$(ctxscript)' '$(DESTDIR)$(bindir)/$$t.exe'"; \
695 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(ctxscript) $(DESTDIR)$(bindir)/$$t.exe; \
696 @WIN32_TRUE@ done
697 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/$(WIN_WRAPPER)/context/mtxrun.dll $(DESTDIR)$(bindir)
698 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(srcdir)/context/stubs/unix/mtxrun $(DESTDIR)$(bindir)/mtxrun.lua
699 @WIN32_TRUE@ @for s in $(bin_links); do \
700 @WIN32_TRUE@ link=`echo $$s | sed 's,.*:,,'`; \
701 @WIN32_TRUE@ echo "$(INSTALL_SCRIPT) '$(runscript)' '$(DESTDIR)$(bindir)/$$link.exe'"; \
702 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(runscript) $(DESTDIR)$(bindir)/$$link.exe || exit 1; \
703 @WIN32_TRUE@ done
704 @WIN32_FALSE@ @REL=`$(relpath) '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \
705 @WIN32_FALSE@ if test -z "$$REL"; then \
706 @WIN32_FALSE@ echo 'unable to compute relative path for linked scripts' >&2; \
707 @WIN32_FALSE@ exit 1; \
708 @WIN32_FALSE@ fi; \
709 @WIN32_FALSE@ cd $(DESTDIR)$(bindir) && \
710 @WIN32_FALSE@ for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
711 @WIN32_FALSE@ target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
712 @WIN32_FALSE@ echo "$$s" | grep listings-ext.sh >/dev/null \
713 @WIN32_FALSE@ || target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
714 @WIN32_FALSE@ rm -f $$target; \
715 @WIN32_FALSE@ echo "creating link '$$target' -> '$$REL/texmf-dist/scripts/$$s'"; \
716 @WIN32_FALSE@ $(LN_S) $$REL/texmf-dist/scripts/$$s $$target || exit 1; \
717 @WIN32_FALSE@ done && \
718 @WIN32_FALSE@ for s in $(bin_links); do \
719 @WIN32_FALSE@ link=`echo $$s | sed 's,.*:,,'`; \
720 @WIN32_FALSE@ file=`echo $$s | sed 's,:.*,,'`; \
721 @WIN32_FALSE@ rm -f $$link; \
722 @WIN32_FALSE@ echo "creating link '$$link' -> '$$file'"; \
723 @WIN32_FALSE@ $(LN_S) $$file $$link || exit 1; \
724 @WIN32_FALSE@ done && \
725 @WIN32_FALSE@ if test -d "$$REL/texmf-dist/doc/man" \
726 @WIN32_FALSE@ && test -z "$(TL_INSTALL_OMIT_MAN_LINK)" \
727 @WIN32_FALSE@ && (test -h man || test ! -e man); then \
728 @WIN32_FALSE@ echo "creating link 'man' -> '$$REL/texmf-dist/doc/man'"; \
729 @WIN32_FALSE@ rm -f man; \
730 @WIN32_FALSE@ (ln -s "$$REL/texmf-dist/doc/man" man || :); \
731 @WIN32_FALSE@ else :; fi
733 .PHONY: install-links
734 install-links:
736 uninstall-hook:
737 @for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
738 target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
739 echo "$$s" | grep listings-ext.sh >/dev/null \
740 || target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
741 rm -f $(DESTDIR)$(bindir)/$$target$(WINEXT); \
742 done
743 @for s in $(bin_links); do \
744 link=`echo $$s | sed 's,.*:,,'`; \
745 rm -f $(DESTDIR)$(bindir)/$$link$(WINEXT); \
746 done
747 @WIN32_FALSE@ if test -h $(DESTDIR)$(bindir)/man; then \
748 @WIN32_FALSE@ rm -f $(DESTDIR)$(bindir)/man; \
749 @WIN32_FALSE@ else :; fi
751 .PHONY: echo-shell-scripts
752 echo-shell-scripts:
753 @echo $(shell_scripts)
755 # Tell versions [3.59,3.63) of GNU make to not export all variables.
756 # Otherwise a system limit (for SysV at least) may be exceeded.
757 .NOEXPORT: