Debian Codegraph @

texk/texlive/linked_scripts/Makefile.in

raw
1 # Makefile.in generated by automake 1.18.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2025 Free Software Foundation, Inc.
5
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.
9
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.
14
15 @SET_MAKE@
16
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; \
28 }
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 am__rm_f = rm -f $(am__rm_f_notfound)
74 am__rm_rf = rm -rf $(am__rm_f_notfound)
75 pkgdatadir = $(datadir)/@PACKAGE@
76 pkgincludedir = $(includedir)/@PACKAGE@
77 pkglibdir = $(libdir)/@PACKAGE@
78 pkglibexecdir = $(libexecdir)/@PACKAGE@
79 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80 install_sh_DATA = $(install_sh) -c -m 644
81 install_sh_PROGRAM = $(install_sh) -c
82 install_sh_SCRIPT = $(install_sh) -c
83 INSTALL_HEADER = $(INSTALL_DATA)
84 transform = $(program_transform_name)
85 NORMAL_INSTALL = :
86 PRE_INSTALL = :
87 POST_INSTALL = :
88 NORMAL_UNINSTALL = :
89 PRE_UNINSTALL = :
90 POST_UNINSTALL = :
91 subdir = linked_scripts
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-win32.m4 \
94 $(top_srcdir)/../../version.ac $(top_srcdir)/ac/texlive.ac \
95 $(top_srcdir)/configure.ac
96 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
97 $(ACLOCAL_M4)
98 DIST_COMMON = $(srcdir)/Makefile.am \
99 $(nobase_dist_texmf_scripts_SCRIPTS) $(am__DIST_COMMON)
100 mkinstalldirs = $(install_sh) -d
101 CONFIG_CLEAN_FILES =
102 CONFIG_CLEAN_VPATH_FILES =
103 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
104 am__vpath_adj = case $$p in \
105 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
106 *) f=$$p;; \
107 esac;
108 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
109 am__install_max = 40
110 am__nobase_strip_setup = \
111 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
112 am__nobase_strip = \
113 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
114 am__nobase_list = $(am__nobase_strip_setup); \
115 for p in $$list; do echo "$$p $$p"; done | \
116 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
117 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
118 if (++n[$$2] == $(am__install_max)) \
119 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
120 END { for (dir in files) print dir, files[dir] }'
121 am__base_list = \
122 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
123 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
124 am__uninstall_files_from_dir = { \
125 { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
126 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
127 $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
128 }
129 am__installdirs = "$(DESTDIR)$(texmf_scriptsdir)"
130 SCRIPTS = $(nobase_dist_texmf_scripts_SCRIPTS)
131 AM_V_P = $(am__v_P_@AM_V@)
132 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
133 am__v_P_0 = false
134 am__v_P_1 = :
135 AM_V_GEN = $(am__v_GEN_@AM_V@)
136 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
137 am__v_GEN_0 = @echo " GEN " $@;
138 am__v_GEN_1 =
139 AM_V_at = $(am__v_at_@AM_V@)
140 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
141 am__v_at_0 = @
142 am__v_at_1 =
143 SOURCES =
144 DIST_SOURCES =
145 am__can_run_installinfo = \
146 case $$AM_UPDATE_INFO_DIR in \
147 n|no|NO) false;; \
148 *) (install-info --version) >/dev/null 2>&1;; \
149 esac
150 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
151 am__DIST_COMMON = $(srcdir)/Makefile.in ChangeLog README
152 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
153 ACLOCAL = @ACLOCAL@
154 AMTAR = @AMTAR@
155 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
156 AUTOCONF = @AUTOCONF@
157 AUTOHEADER = @AUTOHEADER@
158 AUTOMAKE = @AUTOMAKE@
159 AWK = @AWK@
160 CC = @CC@
161 CCDEPMODE = @CCDEPMODE@
162 CFLAGS = @CFLAGS@
163 CPPFLAGS = @CPPFLAGS@
164 CSCOPE = @CSCOPE@
165 CTAGS = @CTAGS@
166 CYGPATH_W = @CYGPATH_W@
167 DEFS = @DEFS@
168 DEPDIR = @DEPDIR@
169 ECHO_C = @ECHO_C@
170 ECHO_N = @ECHO_N@
171 ECHO_T = @ECHO_T@
172 ETAGS = @ETAGS@
173 EXEEXT = @EXEEXT@
174 INSTALL = @INSTALL@
175 INSTALL_DATA = @INSTALL_DATA@
176 INSTALL_PROGRAM = @INSTALL_PROGRAM@
177 INSTALL_SCRIPT = @INSTALL_SCRIPT@
178 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
179 LDFLAGS = @LDFLAGS@
180 LIBOBJS = @LIBOBJS@
181 LIBS = @LIBS@
182 LN_S = @LN_S@
183 LTLIBOBJS = @LTLIBOBJS@
184 MAINT = @MAINT@
185 MAKEINFO = @MAKEINFO@
186 MKDIR_P = @MKDIR_P@
187 OBJEXT = @OBJEXT@
188 PACKAGE = @PACKAGE@
189 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
190 PACKAGE_NAME = @PACKAGE_NAME@
191 PACKAGE_STRING = @PACKAGE_STRING@
192 PACKAGE_TARNAME = @PACKAGE_TARNAME@
193 PACKAGE_URL = @PACKAGE_URL@
194 PACKAGE_VERSION = @PACKAGE_VERSION@
195 PATH_SEPARATOR = @PATH_SEPARATOR@
196 SET_MAKE = @SET_MAKE@
197 SHELL = @SHELL@
198 STRIP = @STRIP@
199 VERSION = @VERSION@
200 WIN_WRAPPER = @WIN_WRAPPER@
201 abs_builddir = @abs_builddir@
202 abs_srcdir = @abs_srcdir@
203 abs_top_builddir = @abs_top_builddir@
204 abs_top_srcdir = @abs_top_srcdir@
205 ac_ct_CC = @ac_ct_CC@
206 am__include = @am__include@
207 am__leading_dot = @am__leading_dot@
208 am__quote = @am__quote@
209 am__rm_f_notfound = @am__rm_f_notfound@
210 am__tar = @am__tar@
211 am__untar = @am__untar@
212 am__xargs_n = @am__xargs_n@
213 bindir = @bindir@
214 build_alias = @build_alias@
215 builddir = @builddir@
216 datadir = @datadir@
217 datarootdir = @datarootdir@
218 docdir = @docdir@
219 dvidir = @dvidir@
220 exec_prefix = @exec_prefix@
221 host_alias = @host_alias@
222 htmldir = @htmldir@
223 includedir = @includedir@
224 infodir = @infodir@
225 install_sh = @install_sh@
226 libdir = @libdir@
227 libexecdir = @libexecdir@
228 localedir = @localedir@
229 localstatedir = @localstatedir@
230 mandir = @mandir@
231 mkdir_p = @mkdir_p@
232 oldincludedir = @oldincludedir@
233 pdfdir = @pdfdir@
234 prefix = @prefix@
235 program_transform_name = @program_transform_name@
236 psdir = @psdir@
237 runstatedir = @runstatedir@
238 sbindir = @sbindir@
239 sharedstatedir = @sharedstatedir@
240 srcdir = @srcdir@
241 sysconfdir = @sysconfdir@
242 target_alias = @target_alias@
243 top_build_prefix = @top_build_prefix@
244 top_builddir = @top_builddir@
245 top_srcdir = @top_srcdir@
246 DISTCLEANFILES = scripts-list
247
248 #
249 # The idea is to install the scripts themselves in texmf*/scripts, and
250 # have bin/arch/foo be a symlink to, say,
251 # ../../texmf-dist/scripts/foo/foo.pl. That way we save a bit of disk
252 # space, but more importantly omit duplication, and most
253 # importantly of all make it possible to invoke the same Perl script on
254 # Windows (see ../$(WIN_WRAPPER)).
255 #
256 # The installation into texmf*/scripts is ideally done with ctan2tl.
257 # The copy of the wrapper for Windows is also done by ctan2tl. (And
258 # for shell scripts, its addition must be undone by hand.) The
259 # check-wrapper-consistency script checks after the fact for problems.
260 #
261 # We also keep a copy of all the scripts here and install into the runtime.
262 # This is purely for other distro builders, so symlinks are not dangling in
263 # the inst/bin dir (it is meaningless in native TL). We have not yet
264 # written the auto-update to ensure linked_scripts is actually up to date
265 # with the masters in Master/texmf*/scripts, but one day.
266 #
267 # We support native builds, multiplatform or not, as well as distro builds.
268 #
269 EXTRA_DIST = scripts.lst ../../../build-aux/relpath
270
271 # Copies of these scripts exist here for the sake of avoiding
272 # dangling symlinks produced by `make install'.
273 # The instances in texmf* are the masters (except when it is CTAN).
274 #
275 texmf_scriptsdir = $(datarootdir)/texmf-dist/scripts
276 texmf_shell_scripts = \
277 adhocfilelist/adhocfilelist.sh \
278 bibexport/bibexport.sh \
279 checklistings/checklistings.sh \
280 ctanbib/ctanbib \
281 dtxgen/dtxgen \
282 git-latexdiff/git-latexdiff \
283 installfont/installfont-tl \
284 latexfileversion/latexfileversion \
285 listbib/listbib \
286 listings-ext/listings-ext.sh \
287 ltxfileinfo/ltxfileinfo \
288 pagelayout/pagelayoutapi \
289 pagelayout/textestvis \
290 pdfbook2/pdfbook2 \
291 pdfjam/pdfjam \
292 pdftex-quiet/pdftex-quiet \
293 pdfxup/pdfxup \
294 pst-pdf/ps4pdf \
295 simpdftex/simpdftex \
296 texaccents/texaccents.sno \
297 texlive-extra/allcm.sh \
298 texlive-extra/allneeded.sh \
299 texlive-extra/dvi2fax.sh \
300 texlive-extra/dvired.sh \
301 texlive-extra/fontinst.sh \
302 texlive-extra/kpsetool.sh \
303 texlive-extra/kpsewhere.sh \
304 texlive-extra/ps2frag.sh \
305 texlive-extra/pslatex.sh \
306 texlive-extra/rubibtex.sh \
307 texlive-extra/rumakeindex.sh \
308 texlive-extra/texconfig-dialog.sh \
309 texlive-extra/texconfig-sys.sh \
310 texlive-extra/texconfig.sh \
311 texlive-extra/texlinks.sh \
312 texlive-extra/xetex-unsafe.sh \
313 texlive-extra/xelatex-unsafe.sh \
314 texosquery/texosquery.sh \
315 texosquery/texosquery-jre5.sh \
316 texosquery/texosquery-jre8.sh \
317 tikztosvg/tikztosvg \
318 typeoutfileinfo/typeoutfileinfo.sh \
319 wordcount/wordcount.sh
320
321
322 #
323 texmf_other_scripts = \
324 a2ping/a2ping.pl \
325 accfonts/mkt1font \
326 accfonts/vpl2ovp \
327 accfonts/vpl2vpl \
328 albatross/albatross.sh \
329 aomart/aom-fullref.pl \
330 arara/arara.sh \
331 attachfile2/pdfatfi.pl \
332 authorindex/authorindex \
333 bib2gls/bib2gls.sh \
334 bib2gls/convertgls2bib.sh \
335 bib2gls/datatool2bib.sh \
336 bibcop/bibcop.pl \
337 bibtexperllibs/ltx2unitxt \
338 bookshelf/bookshelf-listallfonts \
339 bookshelf/bookshelf-mkfontsel \
340 bundledoc/arlatex \
341 bundledoc/bundledoc \
342 cachepic/cachepic.tlu \
343 checkcites/checkcites.lua \
344 citation-style-language/citeproc-lua.lua \
345 chklref/chklref.pl \
346 cjk-gs-integrate/cjk-gs-integrate.pl \
347 clojure-pamphlet/pamphletangler \
348 cluttex/cluttex.lua \
349 context/perl/mptopdf.pl \
350 convbkmk/convbkmk.rb \
351 crossrefware/bbl2bib.pl \
352 crossrefware/bibdoiadd.pl \
353 crossrefware/bibmradd.pl \
354 crossrefware/biburl2doi.pl \
355 crossrefware/bibzbladd.pl \
356 crossrefware/ltx2crossrefxml.pl \
357 ctan-o-mat/ctan-o-mat.pl \
358 ctanify/ctanify \
359 ctanupload/ctanupload.pl \
360 de-macro/de-macro \
361 diadia/diadia.lua \
362 digestif/digestif.texlua \
363 dosepsbin/dosepsbin.pl \
364 dviasm/dviasm.py \
365 dviinfox/dviinfox.pl \
366 easydtx/edtx2dtx.pl \
367 ebong/ebong.py \
368 eolang/eolang.pl \
369 epspdf/epspdf.tlu \
370 epspdf/epspdftk.tcl \
371 epstopdf/epstopdf.pl \
372 exceltex/exceltex \
373 expltools/explcheck.lua \
374 extractbb/extractbb.lua \
375 fig4latex/fig4latex \
376 findhyph/findhyph \
377 fontools/afm2afm \
378 fontools/autoinst \
379 fontools/ot2kpx \
380 fragmaster/fragmaster.pl \
381 getmap/getmapdl.lua \
382 glossaries/makeglossaries \
383 glossaries/makeglossaries-lite.lua \
384 hyperxmp/hyperxmp-add-bytecount.pl \
385 jfmutil/jfmutil.pl \
386 ketcindy/ketcindy.pl \
387 kotex-utils/jamo-normalize.pl \
388 kotex-utils/komkindex.pl \
389 kotex-utils/ttf2kotexfont.pl \
390 l3build/l3build.lua \
391 l3sys-query/l3sys-query.lua \
392 latex-git-log/latex-git-log \
393 latex-papersize/latex-papersize.py \
394 latex2man/latex2man \
395 latex2nemeth/latex2nemeth \
396 latexdiff/latexdiff-vc.pl \
397 latexdiff/latexdiff.pl \
398 latexdiff/latexrevise.pl \
399 latexindent/latexindent.pl \
400 latexmk/latexmk.pl \
401 latexpand/latexpand \
402 light-latex-make/llmk.lua \
403 lilyglyphs/lily-glyph-commands.py \
404 lilyglyphs/lily-image-commands.py \
405 lilyglyphs/lily-rebuild-pdfs.py \
406 ltximg/ltximg.pl \
407 luafindfont/luafindfont.lua \
408 luaotfload/luaotfload-tool.lua \
409 lwarp/lwarpmk.lua \
410 makedtx/makedtx.pl \
411 make4ht/make4ht \
412 markdown/markdown2tex.lua \
413 match_parens/match_parens \
414 mathspic/mathspic.pl \
415 memoize/memoize-clean.pl \
416 memoize/memoize-clean.py \
417 memoize/memoize-extract.pl \
418 memoize/memoize-extract.py \
419 mf2pt1/mf2pt1.pl \
420 minted/latexminted.py \
421 mkgrkindex/mkgrkindex \
422 mkjobtexmf/mkjobtexmf.pl \
423 mkpic/mkpic \
424 multibibliography/multibibliography.pl \
425 musixtex/musixflx.lua \
426 musixtex/musixtex.lua \
427 optexcount/optexcount \
428 pax/pdfannotextractor.pl \
429 pdfcrop/pdfcrop.pl \
430 pdflatexpicscale/pdflatexpicscale.pl \
431 pedigree-perl/pedigree.pl \
432 perltex/perltex.pl \
433 petri-nets/pn2pdf \
434 pfarrei/a5toa4.tlu \
435 pfarrei/pfarrei.tlu \
436 pkfix-helper/pkfix-helper \
437 pkfix/pkfix.pl \
438 pmxchords/pmxchords.lua \
439 ppmcheckpdf/ppmcheckpdf.lua \
440 pst2pdf/pst2pdf.pl \
441 ptex-fontmaps/kanji-config-updmap-sys.sh \
442 ptex-fontmaps/kanji-config-updmap-user.sh \
443 ptex-fontmaps/kanji-config-updmap.pl \
444 ptex-fontmaps/kanji-fontmap-creator.pl \
445 ptex2pdf/ptex2pdf.lua \
446 purifyeps/purifyeps \
447 pygmentex/pygmentex.py \
448 pythontex/depythontex.py \
449 pythontex/pythontex.py \
450 rubik/rubikrotation.pl \
451 runtexfile/runtexfile.lua \
452 runtexshebang/runtexshebang.lua \
453 show-pdf-tags/show-pdf-tags.lua \
454 spix/spix.py \
455 splitindex/splitindex.pl \
456 sqltex/sqltex \
457 srcredact/srcredact.pl \
458 sty2dtx/sty2dtx.pl \
459 svn-multi/svn-multi.pl \
460 tex4ebook/tex4ebook \
461 texblend/texblend \
462 texcount/texcount.pl \
463 texdef/texdef.pl \
464 texdiff/texdiff \
465 texdirflatten/texdirflatten \
466 texfindpkg/texfindpkg.lua \
467 texdoc/texdoc.tlu \
468 texfot/texfot.pl \
469 texlive/fmtutil-sys.sh \
470 texlive/fmtutil-user.sh \
471 texlive/fmtutil.pl \
472 texlive/mktexlsr \
473 texlive/mktexmf \
474 texlive/mktexpk \
475 texlive/mktextfm \
476 texlive/rungs.lua \
477 texlive/tlmgr.pl \
478 texlive/updmap-sys.sh \
479 texlive/updmap-user.sh \
480 texlive/updmap.pl \
481 texlive-extra/e2pall.pl \
482 texliveonfly/texliveonfly.py \
483 texloganalyser/texloganalyser \
484 texlogfilter/texlogfilter \
485 texlogsieve/texlogsieve \
486 texplate/texplate.sh \
487 thumbpdf/thumbpdf.pl \
488 tlcockpit/tlcockpit.sh \
489 tlshell/tlshell.tcl \
490 typog/typog-grep.pl \
491 ulqda/ulqda.pl \
492 urlbst/urlbst \
493 vpe/vpe.pl \
494 webquiz/webquiz.py \
495 xindex/xindex.lua \
496 yplan/yplan
497
498 nobase_dist_texmf_scripts_SCRIPTS = \
499 $(texmf_shell_scripts) \
500 $(texmf_other_scripts)
501
502 bin_links = \
503 allcm:allec \
504 cluttex:clxelatex \
505 cluttex:cllualatex \
506 epstopdf:repstopdf \
507 extractbb:ebb \
508 fmtutil:mktexfmt \
509 kpsetool:kpsexpand \
510 kpsetool:kpsepath \
511 mktexlsr:texhash \
512 pdfcrop:rpdfcrop \
513 texdef:latexdef
514
515 relpath = $(SHELL) $(top_srcdir)/../../build-aux/relpath
516 runscript = $(top_srcdir)/$(WIN_WRAPPER)/runscript.exe
517
518 # Make a copy of all targets and link names, for distros etc., so they
519 # don't have to duplicate the special cases for memoize* etc. below. It
520 # would be cleaner to make the file and then use it in both the install
521 # and uninstall hooks, but we'll leave that for another time.
522 linkfile = $(abs_builddir)/scripts-targets.lst
523
524 #
525 # For WIN32 (MinGW or native) we have wrapper binaries with .exe,
526 # for Cygwin and Unix we have symlinks without .exe.
527 @WIN32_TRUE@WINEXT = $(EXEEXT)
528 shell_scripts = $(texmf_shell_scripts)
529
530 # just a shorter name for all the scripts for convenience.
531 all_scripts = $(nobase_dist_texmf_scripts_SCRIPTS)
532 all: all-am
533
534 .SUFFIXES:
535 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
536 @for dep in $?; do \
537 case '$(am__configure_deps)' in \
538 *$$dep*) \
539 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
540 && { if test -f $@; then exit 0; else break; fi; }; \
541 exit 1;; \
542 esac; \
543 done; \
544 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign linked_scripts/Makefile'; \
545 $(am__cd) $(top_srcdir) && \
546 $(AUTOMAKE) --foreign linked_scripts/Makefile
547 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
548 @case '$?' in \
549 *config.status*) \
550 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
551 *) \
552 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
553 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
554 esac;
555
556 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
557 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
558
559 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
560 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
561 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
562 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
563 $(am__aclocal_m4_deps):
564 install-nobase_dist_texmf_scriptsSCRIPTS: $(nobase_dist_texmf_scripts_SCRIPTS)
565 @$(NORMAL_INSTALL)
566 @list='$(nobase_dist_texmf_scripts_SCRIPTS)'; test -n "$(texmf_scriptsdir)" || list=; \
567 if test -n "$$list"; then \
568 echo " $(MKDIR_P) '$(DESTDIR)$(texmf_scriptsdir)'"; \
569 $(MKDIR_P) "$(DESTDIR)$(texmf_scriptsdir)" || exit 1; \
570 fi; \
571 $(am__nobase_strip_setup); \
572 for p in $$list; do \
573 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
574 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
575 done | \
576 sed -e 'p;s,.*/,,;n' \
577 -e "s|$$srcdirstrip/||" -e 'h;s|[^/]*$$||; s|^$$|.|' \
578 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
579 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
580 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
581 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
582 if (++n[d] == $(am__install_max)) { \
583 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
584 else { print "f", d "/" $$4, $$1 } } \
585 END { for (d in files) print "f", d, files[d] }' | \
586 while read type dir files; do \
587 case $$type in \
588 d) echo " $(MKDIR_P) '$(DESTDIR)$(texmf_scriptsdir)/$$dir'"; \
589 $(MKDIR_P) "$(DESTDIR)$(texmf_scriptsdir)/$$dir" || exit $$?;; \
590 f) \
591 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
592 test -z "$$files" || { \
593 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmf_scriptsdir)$$dir'"; \
594 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmf_scriptsdir)$$dir" || exit $$?; \
595 } \
596 ;; esac \
597 ; done
598
599 uninstall-nobase_dist_texmf_scriptsSCRIPTS:
600 @$(NORMAL_UNINSTALL)
601 @list='$(nobase_dist_texmf_scripts_SCRIPTS)'; test -n "$(texmf_scriptsdir)" || exit 0; \
602 $(am__nobase_strip_setup); \
603 files=`$(am__nobase_strip) \
604 -e 'h;s,.*/,,;$(transform);x;s|[^/]*$$||;G;s,\n,,'`; \
605 dir='$(DESTDIR)$(texmf_scriptsdir)'; $(am__uninstall_files_from_dir)
606 tags TAGS:
607
608 ctags CTAGS:
609
610 cscope cscopelist:
611
612
613 distdir: $(BUILT_SOURCES)
614 $(MAKE) $(AM_MAKEFLAGS) distdir-am
615
616 distdir-am: $(DISTFILES)
617 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
618 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
619 list='$(DISTFILES)'; \
620 dist_files=`for file in $$list; do echo $$file; done | \
621 sed -e "s|^$$srcdirstrip/||;t" \
622 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
623 case $$dist_files in \
624 */*) $(MKDIR_P) `echo "$$dist_files" | \
625 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
626 sort -u` ;; \
627 esac; \
628 for file in $$dist_files; do \
629 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
630 if test -d $$d/$$file; then \
631 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
632 if test -d "$(distdir)/$$file"; then \
633 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
634 fi; \
635 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
636 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
637 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
638 fi; \
639 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
640 else \
641 test -f "$(distdir)/$$file" \
642 || cp -p $$d/$$file "$(distdir)/$$file" \
643 || exit 1; \
644 fi; \
645 done
646 check-am: all-am
647 check: check-am
648 all-am: Makefile $(SCRIPTS) all-local
649 installdirs: installdirs-local
650 for dir in "$(DESTDIR)$(texmf_scriptsdir)"; do \
651 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
652 done
653 install: install-am
654 install-exec: install-exec-am
655 install-data: install-data-am
656 uninstall: uninstall-am
657
658 install-am: all-am
659 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
660
661 installcheck: installcheck-am
662 install-strip:
663 if test -z '$(STRIP)'; then \
664 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
665 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
666 install; \
667 else \
668 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
669 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
670 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
671 fi
672 mostlyclean-generic:
673
674 clean-generic:
675
676 distclean-generic:
677 -$(am__rm_f) $(CONFIG_CLEAN_FILES)
678 -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
679 -$(am__rm_f) $(DISTCLEANFILES)
680
681 maintainer-clean-generic:
682 @echo "This command is intended for maintainers to use"
683 @echo "it deletes files that may require special tools to rebuild."
684 clean: clean-am
685
686 clean-am: clean-generic mostlyclean-am
687
688 distclean: distclean-am
689 -rm -f Makefile
690 distclean-am: clean-am distclean-generic
691
692 dvi: dvi-am
693
694 dvi-am:
695
696 html: html-am
697
698 html-am:
699
700 info: info-am
701
702 info-am:
703
704 install-data-am: install-nobase_dist_texmf_scriptsSCRIPTS
705 @$(NORMAL_INSTALL)
706 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
707 install-dvi: install-dvi-am
708
709 install-dvi-am:
710
711 install-exec-am:
712
713 install-html: install-html-am
714
715 install-html-am:
716
717 install-info: install-info-am
718
719 install-info-am:
720
721 install-man:
722
723 install-pdf: install-pdf-am
724
725 install-pdf-am:
726
727 install-ps: install-ps-am
728
729 install-ps-am:
730
731 installcheck-am:
732
733 maintainer-clean: maintainer-clean-am
734 -rm -f Makefile
735 maintainer-clean-am: distclean-am maintainer-clean-generic
736
737 mostlyclean: mostlyclean-am
738
739 mostlyclean-am: mostlyclean-generic
740
741 pdf: pdf-am
742
743 pdf-am:
744
745 ps: ps-am
746
747 ps-am:
748
749 uninstall-am: uninstall-nobase_dist_texmf_scriptsSCRIPTS
750 @$(NORMAL_INSTALL)
751 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
752 .MAKE: install-am install-data-am install-strip uninstall-am
753
754 .PHONY: all all-am all-local check check-am clean clean-generic \
755 cscopelist-am ctags-am distclean distclean-generic distdir dvi \
756 dvi-am html html-am info info-am install install-am \
757 install-data install-data-am install-data-hook install-dvi \
758 install-dvi-am install-exec install-exec-am install-html \
759 install-html-am install-info install-info-am install-man \
760 install-nobase_dist_texmf_scriptsSCRIPTS install-pdf \
761 install-pdf-am install-ps install-ps-am install-strip \
762 installcheck installcheck-am installdirs installdirs-local \
763 maintainer-clean maintainer-clean-generic mostlyclean \
764 mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
765 uninstall-am uninstall-hook \
766 uninstall-nobase_dist_texmf_scriptsSCRIPTS
767
768 .PRECIOUS: Makefile
769
770
771 # Build lists of scripts.
772 scripts-list: Makefile
773 @echo "Create $@"
774 @echo "texmf_scripts='" >$@
775 @for f in $(nobase_dist_texmf_scripts_SCRIPTS); do echo "$$f"; done >>$@
776 @echo "'" >>$@
777 cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
778
779 # Hard to remember the target name different from final file name.
780 scripts-lst:
781 $(MAKE) scripts-list
782
783 @MAINTAINER_MODE_TRUE@all-local: scripts-list
784 @MAINTAINER_MODE_FALSE@all-local:
785
786 installdirs-local:
787 $(MKDIR_P) $(DESTDIR)$(bindir)
788
789 install-data-hook: installdirs-local
790 @WIN32_TRUE@ @for s in $(texmf_other_scripts); do \
791 @WIN32_TRUE@ t=`basename $$s | sed 's,\.[^/]*$$,,' | tr '[A-Z]' '[a-z]'`; \
792 @WIN32_TRUE@ echo "$(INSTALL_SCRIPT) '$(runscript)' '$(DESTDIR)$(bindir)/$$t.exe'"; \
793 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(runscript) $(DESTDIR)$(bindir)/$$t.exe; \
794 @WIN32_TRUE@ done
795 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/$(WIN_WRAPPER)/runscript.dll $(DESTDIR)$(bindir)
796 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/$(WIN_WRAPPER)/runscript.exe $(DESTDIR)$(bindir)
797 @WIN32_TRUE@ $(INSTALL_SCRIPT) $(top_srcdir)/$(WIN_WRAPPER)/runscript.tlu $(DESTDIR)$(bindir)
798 @WIN32_FALSE@ >$(linkfile)
799 # Name the link as the basename, removing any extension,
800 # except for memoize* and listings-ext.sh, which are documented to be
801 # used with extension. Downcase for the sake of TeXcount.pl -> texcount.
802 # Unfortunately this logic is duplicated in uninstall-hook.
803 @WIN32_FALSE@ @REL=`$(relpath) '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \
804 @WIN32_FALSE@ if test -z "$$REL"; then \
805 @WIN32_FALSE@ echo 'unable to compute relative path for linked scripts' >&2; \
806 @WIN32_FALSE@ exit 1; \
807 @WIN32_FALSE@ fi; \
808 @WIN32_FALSE@ cd $(DESTDIR)$(bindir) && \
809 @WIN32_FALSE@ for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
810 @WIN32_FALSE@ target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
811 @WIN32_FALSE@ echo "$$s" | grep 'memoize-.*\.' >/dev/null \
812 @WIN32_FALSE@ || echo "$$s" | grep 'listings-ext.sh' >/dev/null \
813 @WIN32_FALSE@ || target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
814 @WIN32_FALSE@ rm -f $$target; \
815 @WIN32_FALSE@ echo "creating link '$$target' -> '$$REL/texmf-dist/scripts/$$s'";\
816 @WIN32_FALSE@ $(LN_S) $$REL/texmf-dist/scripts/$$s $$target || exit 1; \
817 @WIN32_FALSE@ echo texmf-dist/scripts/$$s $$target >>$(linkfile); \
818 @WIN32_FALSE@ done && \
819 @WIN32_FALSE@ for s in $(bin_links); do \
820 @WIN32_FALSE@ link=`echo $$s | sed 's,.*:,,'`; \
821 @WIN32_FALSE@ file=`echo $$s | sed 's,:.*,,'`; \
822 @WIN32_FALSE@ rm -f $$link; \
823 @WIN32_FALSE@ echo "creating bin link '$$link' -> '$$file'"; \
824 @WIN32_FALSE@ $(LN_S) $$file $$link || exit 1; \
825 @WIN32_FALSE@ echo $$file $$link >>$(linkfile); \
826 @WIN32_FALSE@ done && \
827 @WIN32_FALSE@ if test -d "$$REL/texmf-dist/doc/man" \
828 @WIN32_FALSE@ && test -z "$(TL_INSTALL_OMIT_MAN_LINK)" \
829 @WIN32_FALSE@ && (test -h man || test ! -e man); then \
830 @WIN32_FALSE@ echo "creating link 'man' -> '$$REL/texmf-dist/doc/man'"; \
831 @WIN32_FALSE@ rm -f man; \
832 @WIN32_FALSE@ (ln -s "$$REL/texmf-dist/doc/man" man || :); \
833 @WIN32_FALSE@ else :; fi
834 # If we got to the end, update the $(linkfile) in srcdir if needed.
835 @WIN32_FALSE@ cmp -s $(srcdir)/`basename $(linkfile)` $(linkfile) \
836 @WIN32_FALSE@ || cp -f $(linkfile) $(srcdir)/`basename $(linkfile)`
837
838 .PHONY: install-links
839 install-links:
840
841 uninstall-hook:
842 @for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
843 target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
844 echo "$$s" | grep 'memoize-.*\.' >/dev/null \
845 || echo "$$s" | grep 'listings-ext.sh' >/dev/null \
846 || target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
847 rm -f $(DESTDIR)$(bindir)/$$target$(WINEXT); \
848 done
849 @for s in $(bin_links); do \
850 link=`echo $$s | sed 's,.*:,,'`; \
851 rm -f $(DESTDIR)$(bindir)/$$link$(WINEXT); \
852 done
853 @WIN32_FALSE@ if test -h $(DESTDIR)$(bindir)/man; then \
854 @WIN32_FALSE@ rm -f $(DESTDIR)$(bindir)/man; \
855 @WIN32_FALSE@ else :; fi
856
857 #
858 # This target is invoked by tl-check-wrapper-consistency (run from cron).
859 .PHONY: echo-shell-scripts
860 echo-shell-scripts:
861 @echo $(shell_scripts)
862
863 # Compare the list of scripts to the extant files in the repo;
864 # should be exactly the same. Run from cron.
865 check-make-vs-files:
866 # We descend two levels here because of context/perl/mptopdf.pl.
867 find "$(srcdir)"/*/* -type f | sed "s,$(srcdir)/,," | sort \
868 >tmplist.files
869 echo $(all_scripts) | tr ' ' '\n' | sort >tmplist.make
870 comm -3 tmplist.files tmplist.make
871
872 # Tell versions [3.59,3.63) of GNU make to not export all variables.
873 # Otherwise a system limit (for SysV at least) may be exceeded.
874 .NOEXPORT:
875
876 # Tell GNU make to disable its built-in pattern rules.
877 %:: %,v
878 %:: RCS/%,v
879 %:: RCS/%
880 %:: s.%
881 %:: SCCS/s.%