Debian Codegraph @

texk/chktex/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 #************************************************************************
18 #
19 # Adapted for TeX Live from chktex/Makefile.in
20 #
21 #************************************************************************
22
23
24
25 VPATH = @srcdir@
26 am__is_gnu_make = { \
27 if test -z '$(MAKELEVEL)'; then \
28 false; \
29 elif test -n '$(MAKE_HOST)'; then \
30 true; \
31 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
32 true; \
33 else \
34 false; \
35 fi; \
36 }
37 am__make_running_with_option = \
38 case $${target_option-} in \
39 ?) ;; \
40 *) echo "am__make_running_with_option: internal error: invalid" \
41 "target option '$${target_option-}' specified" >&2; \
42 exit 1;; \
43 esac; \
44 has_opt=no; \
45 sane_makeflags=$$MAKEFLAGS; \
46 if $(am__is_gnu_make); then \
47 sane_makeflags=$$MFLAGS; \
48 else \
49 case $$MAKEFLAGS in \
50 *\\[\ \ ]*) \
51 bs=\\; \
52 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
54 esac; \
55 fi; \
56 skip_next=no; \
57 strip_trailopt () \
58 { \
59 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60 }; \
61 for flg in $$sane_makeflags; do \
62 test $$skip_next = yes && { skip_next=no; continue; }; \
63 case $$flg in \
64 *=*|--*) continue;; \
65 -*I) strip_trailopt 'I'; skip_next=yes;; \
66 -*I?*) strip_trailopt 'I';; \
67 -*O) strip_trailopt 'O'; skip_next=yes;; \
68 -*O?*) strip_trailopt 'O';; \
69 -*l) strip_trailopt 'l'; skip_next=yes;; \
70 -*l?*) strip_trailopt 'l';; \
71 -[dEDm]) skip_next=yes;; \
72 -[JT]) skip_next=yes;; \
73 esac; \
74 case $$flg in \
75 *$$target_option*) has_opt=yes; break;; \
76 esac; \
77 done; \
78 test $$has_opt = yes
79 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
81 am__rm_f = rm -f $(am__rm_f_notfound)
82 am__rm_rf = rm -rf $(am__rm_f_notfound)
83 pkgdatadir = $(datadir)/@PACKAGE@
84 pkgincludedir = $(includedir)/@PACKAGE@
85 pkglibdir = $(libdir)/@PACKAGE@
86 pkglibexecdir = $(libexecdir)/@PACKAGE@
87 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
88 install_sh_DATA = $(install_sh) -c -m 644
89 install_sh_PROGRAM = $(install_sh) -c
90 install_sh_SCRIPT = $(install_sh) -c
91 INSTALL_HEADER = $(INSTALL_DATA)
92 transform = $(program_transform_name)
93 NORMAL_INSTALL = :
94 PRE_INSTALL = :
95 POST_INSTALL = :
96 NORMAL_UNINSTALL = :
97 PRE_UNINSTALL = :
98 POST_UNINSTALL = :
99 build_triplet = @build@
100 host_triplet = @host@
101 bin_PROGRAMS = chktex$(EXEEXT)
102 @MINGW32_TRUE@am__append_1 = \
103 @MINGW32_TRUE@ regex/regex.c \
104 @MINGW32_TRUE@ regex/regex.h
105
106 @WIN32_TRUE@@WIN32_WRAP_TRUE@am__append_2 = $(wrappers)
107 subdir = .
108 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
109 am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
110 $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \
111 $(top_srcdir)/../../m4/kpse-progs.m4 \
112 $(top_srcdir)/../../m4/kpse-warnings.m4 \
113 $(top_srcdir)/../../m4/kpse-win32.m4 \
114 $(top_srcdir)/../../m4/libtool.m4 \
115 $(top_srcdir)/../../m4/ltoptions.m4 \
116 $(top_srcdir)/../../m4/ltsugar.m4 \
117 $(top_srcdir)/../../m4/ltversion.m4 \
118 $(top_srcdir)/../../m4/lt~obsolete.m4 $(top_srcdir)/version.ac \
119 $(top_srcdir)/configure.ac
120 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
121 $(ACLOCAL_M4)
122 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
123 $(am__configure_deps) $(am__DIST_COMMON)
124 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
125 configure.lineno config.status.lineno
126 mkinstalldirs = $(install_sh) -d
127 CONFIG_HEADER = config.h
128 CONFIG_CLEAN_FILES = ChkTeX.t deweb.pl
129 CONFIG_CLEAN_VPATH_FILES =
130 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
131 "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(texmfdir)" \
132 "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(configdir)" \
133 "$(DESTDIR)$(pdfdocdir)"
134 PROGRAMS = $(bin_PROGRAMS)
135 am__chktex_SOURCES_DIST = @CHKTEX_TREE@/ChkTeX.c \
136 @CHKTEX_TREE@/ChkTeX.h @CHKTEX_TREE@/FindErrs.c \
137 @CHKTEX_TREE@/FindErrs.h @CHKTEX_TREE@/OpSys.c \
138 @CHKTEX_TREE@/OpSys.h @CHKTEX_TREE@/Resource.c \
139 @CHKTEX_TREE@/Resource.h @CHKTEX_TREE@/Utility.c \
140 @CHKTEX_TREE@/Utility.h @CHKTEX_TREE@/types.h regex/regex.c \
141 regex/regex.h
142 am__dirstamp = $(am__leading_dot)dirstamp
143 @MINGW32_TRUE@am__objects_1 = regex/regex.$(OBJEXT)
144 am_chktex_OBJECTS = @CHKTEX_TREE@/ChkTeX.$(OBJEXT) \
145 @CHKTEX_TREE@/FindErrs.$(OBJEXT) @CHKTEX_TREE@/OpSys.$(OBJEXT) \
146 @CHKTEX_TREE@/Resource.$(OBJEXT) \
147 @CHKTEX_TREE@/Utility.$(OBJEXT) $(am__objects_1)
148 chktex_OBJECTS = $(am_chktex_OBJECTS)
149 chktex_LDADD = $(LDADD)
150 am__DEPENDENCIES_1 =
151 chktex_DEPENDENCIES = $(am__DEPENDENCIES_1)
152 AM_V_lt = $(am__v_lt_@AM_V@)
153 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
154 am__v_lt_0 = --silent
155 am__v_lt_1 =
156 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
157 am__vpath_adj = case $$p in \
158 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
159 *) f=$$p;; \
160 esac;
161 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
162 am__install_max = 40
163 am__nobase_strip_setup = \
164 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
165 am__nobase_strip = \
166 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
167 am__nobase_list = $(am__nobase_strip_setup); \
168 for p in $$list; do echo "$$p $$p"; done | \
169 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
170 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
171 if (++n[$$2] == $(am__install_max)) \
172 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
173 END { for (dir in files) print dir, files[dir] }'
174 am__base_list = \
175 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
176 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
177 am__uninstall_files_from_dir = { \
178 { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
179 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
180 $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
181 }
182 SCRIPTS = $(nodist_bin_SCRIPTS) $(nodist_texmf_SCRIPTS) \
183 $(texmf_SCRIPTS)
184 AM_V_P = $(am__v_P_@AM_V@)
185 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
186 am__v_P_0 = false
187 am__v_P_1 = :
188 AM_V_GEN = $(am__v_GEN_@AM_V@)
189 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
190 am__v_GEN_0 = @echo " GEN " $@;
191 am__v_GEN_1 =
192 AM_V_at = $(am__v_at_@AM_V@)
193 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
194 am__v_at_0 = @
195 am__v_at_1 =
196 DEFAULT_INCLUDES = -I.@am__isrc@
197 depcomp = $(SHELL) $(top_srcdir)/../../build-aux/depcomp
198 am__maybe_remake_depfiles = depfiles
199 am__depfiles_remade = @CHKTEX_TREE@/$(DEPDIR)/ChkTeX.Po \
200 @CHKTEX_TREE@/$(DEPDIR)/FindErrs.Po \
201 @CHKTEX_TREE@/$(DEPDIR)/OpSys.Po \
202 @CHKTEX_TREE@/$(DEPDIR)/Resource.Po \
203 @CHKTEX_TREE@/$(DEPDIR)/Utility.Po regex/$(DEPDIR)/regcomp.Po \
204 regex/$(DEPDIR)/regex.Po regex/$(DEPDIR)/regex_internal.Po \
205 regex/$(DEPDIR)/regexec.Po
206 am__mv = mv -f
207 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
208 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
209 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
210 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
211 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
212 $(AM_CFLAGS) $(CFLAGS)
213 AM_V_CC = $(am__v_CC_@AM_V@)
214 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
215 am__v_CC_0 = @echo " CC " $@;
216 am__v_CC_1 =
217 CCLD = $(CC)
218 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
219 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
220 $(AM_LDFLAGS) $(LDFLAGS) -o $@
221 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
222 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
223 am__v_CCLD_0 = @echo " CCLD " $@;
224 am__v_CCLD_1 =
225 SOURCES = $(chktex_SOURCES) $(EXTRA_chktex_SOURCES)
226 DIST_SOURCES = $(am__chktex_SOURCES_DIST) $(EXTRA_chktex_SOURCES)
227 am__can_run_installinfo = \
228 case $$AM_UPDATE_INFO_DIR in \
229 n|no|NO) false;; \
230 *) (install-info --version) >/dev/null 2>&1;; \
231 esac
232 man1dir = $(mandir)/man1
233 NROFF = nroff
234 MANS = $(man_MANS)
235 DATA = $(config_DATA) $(pdfdoc_DATA)
236 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
237 config.h.in
238 # Read a list of newline-separated strings from the standard input,
239 # and print each of them once, without duplicates. Input order is
240 # *not* preserved.
241 am__uniquify_input = $(AWK) '\
242 BEGIN { nonempty = 0; } \
243 { items[$$0] = 1; nonempty = 1; } \
244 END { if (nonempty) { for (i in items) print i; }; } \
245 '
246 # Make sure the list of sources is unique. This is necessary because,
247 # e.g., the same source file might be shared among _SOURCES variables
248 # for different programs/libraries.
249 am__define_uniq_tagged_files = \
250 list='$(am__tagged_files)'; \
251 unique=`for i in $$list; do \
252 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
253 done | $(am__uniquify_input)`
254 AM_RECURSIVE_TARGETS = cscope check recheck
255 am__tty_colors_dummy = \
256 mgn= red= grn= lgn= blu= brg= std=; \
257 am__color_tests=no
258 am__tty_colors = { \
259 $(am__tty_colors_dummy); \
260 if test "X$(AM_COLOR_TESTS)" = Xno; then \
261 am__color_tests=no; \
262 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
263 am__color_tests=yes; \
264 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
265 am__color_tests=yes; \
266 fi; \
267 if test $$am__color_tests = yes; then \
268 red=''; \
269 grn=''; \
270 lgn=''; \
271 blu=''; \
272 mgn=''; \
273 brg=''; \
274 std=''; \
275 fi; \
276 }
277 am__recheck_rx = ^[ ]*:recheck:[ ]*
278 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
279 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
280 # A command that, given a newline-separated list of test names on the
281 # standard input, print the name of the tests that are to be re-run
282 # upon "make recheck".
283 am__list_recheck_tests = $(AWK) '{ \
284 recheck = 1; \
285 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
286 { \
287 if (rc < 0) \
288 { \
289 if ((getline line2 < ($$0 ".log")) < 0) \
290 recheck = 0; \
291 break; \
292 } \
293 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
294 { \
295 recheck = 0; \
296 break; \
297 } \
298 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
299 { \
300 break; \
301 } \
302 }; \
303 if (recheck) \
304 print $$0; \
305 close ($$0 ".trs"); \
306 close ($$0 ".log"); \
307 }'
308 # A command that, given a newline-separated list of test names on the
309 # standard input, create the global log from their .trs and .log files.
310 am__create_global_log = $(AWK) ' \
311 function fatal(msg) \
312 { \
313 print "fatal: making $@: " msg | "cat >&2"; \
314 exit 1; \
315 } \
316 function rst_section(header) \
317 { \
318 print header; \
319 len = length(header); \
320 for (i = 1; i <= len; i = i + 1) \
321 printf "="; \
322 printf "\n\n"; \
323 } \
324 { \
325 copy_in_global_log = 1; \
326 global_test_result = "RUN"; \
327 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
328 { \
329 if (rc < 0) \
330 fatal("failed to read from " $$0 ".trs"); \
331 if (line ~ /$(am__global_test_result_rx)/) \
332 { \
333 sub("$(am__global_test_result_rx)", "", line); \
334 sub("[ ]*$$", "", line); \
335 global_test_result = line; \
336 } \
337 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
338 copy_in_global_log = 0; \
339 }; \
340 if (copy_in_global_log) \
341 { \
342 rst_section(global_test_result ": " $$0); \
343 while ((rc = (getline line < ($$0 ".log"))) != 0) \
344 { \
345 if (rc < 0) \
346 fatal("failed to read from " $$0 ".log"); \
347 print line; \
348 }; \
349 printf "\n"; \
350 }; \
351 close ($$0 ".trs"); \
352 close ($$0 ".log"); \
353 }'
354 # Restructured Text title.
355 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
356 # Solaris 10 'make', and several other traditional 'make' implementations,
357 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
358 # by disabling -e (using the XSI extension "set +e") if it's set.
359 am__sh_e_setup = case $$- in *e*) set +e;; esac
360 # Default flags passed to test drivers.
361 am__common_driver_flags = \
362 --color-tests "$$am__color_tests" \
363 $$am__collect_skipped_logs \
364 --enable-hard-errors "$$am__enable_hard_errors" \
365 --expect-failure "$$am__expect_failure"
366 # To be inserted before the command running the test. Creates the
367 # directory for the log if needed. Stores in $dir the directory
368 # containing $f, in $tst the test, in $log the log. Executes the
369 # developer-defined test setup AM_TESTS_ENVIRONMENT (if any), and
370 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
371 # will run the test scripts (or their associated LOG_COMPILER, if
372 # thy have one).
373 am__check_pre = \
374 $(am__sh_e_setup); \
375 $(am__vpath_adj_setup) $(am__vpath_adj) \
376 $(am__tty_colors); \
377 srcdir=$(srcdir); export srcdir; \
378 case "$@" in \
379 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
380 *) am__odir=.;; \
381 esac; \
382 test "x$$am__odir" = x"." || test -d "$$am__odir" \
383 || $(MKDIR_P) "$$am__odir" || exit $$?; \
384 if test -f "./$$f"; then dir=./; \
385 elif test -f "$$f"; then dir=; \
386 else dir="$(srcdir)/"; fi; \
387 tst=$$dir$$f; log='$@'; \
388 if test -n '$(IGNORE_SKIPPED_LOGS)'; then \
389 am__collect_skipped_logs='--collect-skipped-logs no'; \
390 else \
391 am__collect_skipped_logs=''; \
392 fi; \
393 if test -n '$(DISABLE_HARD_ERRORS)'; then \
394 am__enable_hard_errors=no; \
395 else \
396 am__enable_hard_errors=yes; \
397 fi; \
398 case " $(XFAIL_TESTS) " in \
399 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
400 am__expect_failure=yes;; \
401 *) \
402 am__expect_failure=no;; \
403 esac; \
404 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
405 # A shell command to get the names of the tests scripts with any registered
406 # extension removed (i.e., equivalently, the names of the test logs, with
407 # the '.log' extension removed). The result is saved in the shell variable
408 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
409 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
410 # since that might cause problem with VPATH rewrites for suffix-less tests.
411 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
412 am__set_TESTS_bases = \
413 bases='$(TEST_LOGS)'; \
414 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
415 bases=`echo $$bases`
416 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
417 RECHECK_LOGS = $(TEST_LOGS)
418 TEST_SUITE_LOG = test-suite.log
419 TEST_EXTENSIONS = @EXEEXT@ .test
420 am__test_logs1 = $(TESTS:=.log)
421 am__test_logs2 = $(am__test_logs1:@[email protected]=.log)
422 TEST_LOGS = $(am__test_logs2:.test.log=.log)
423 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
424 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
425 $(TEST_LOG_FLAGS)
426 am__set_b = \
427 case '$@' in \
428 */*) \
429 case '$*' in \
430 */*) b='$*';; \
431 *) b=`echo '$@' | sed 's/\.log$$//'`; \
432 esac;; \
433 *) \
434 b='$*';; \
435 esac
436 am__DIST_COMMON = $(srcdir)/../../am/dist_hook.am \
437 $(srcdir)/../../am/script_links.am $(srcdir)/Makefile.in \
438 $(srcdir)/config.h.in $(top_srcdir)/../../build-aux/ar-lib \
439 $(top_srcdir)/../../build-aux/compile \
440 $(top_srcdir)/../../build-aux/config.guess \
441 $(top_srcdir)/../../build-aux/config.sub \
442 $(top_srcdir)/../../build-aux/depcomp \
443 $(top_srcdir)/../../build-aux/install-sh \
444 $(top_srcdir)/../../build-aux/ltmain.sh \
445 $(top_srcdir)/../../build-aux/missing \
446 $(top_srcdir)/../../build-aux/test-driver \
447 $(top_srcdir)/chktex-src/ChkTeX.tex.in \
448 $(top_srcdir)/chktex-src/deweb.in ../../build-aux/ar-lib \
449 ../../build-aux/compile ../../build-aux/config.guess \
450 ../../build-aux/config.sub ../../build-aux/depcomp \
451 ../../build-aux/install-sh ../../build-aux/ltmain.sh \
452 ../../build-aux/missing ../../build-aux/texinfo.tex \
453 ../../build-aux/ylwrap ChangeLog
454 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
455 distdir = $(PACKAGE)-$(VERSION)
456 top_distdir = $(distdir)
457 am__remove_distdir = \
458 if test -d "$(distdir)"; then \
459 find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
460 ; rm -rf "$(distdir)" \
461 || { sleep 5 && rm -rf "$(distdir)"; }; \
462 else :; fi
463 am__post_remove_distdir = $(am__remove_distdir)
464 DIST_ARCHIVES = $(distdir).tar.gz
465 GZIP_ENV = -9
466 DIST_TARGETS = dist-gzip
467 # Exists only to be overridden by the user if desired.
468 AM_DISTCHECK_DVI_TARGET = dvi
469 distuninstallcheck_listfiles = find . -type f -print
470 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
471 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
472 distcleancheck_listfiles = \
473 find . \( -type f -a \! \
474 \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print
475 ACLOCAL = @ACLOCAL@
476 AMTAR = @AMTAR@
477 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
478 AR = @AR@
479 AS = @AS@
480 AUTOCONF = @AUTOCONF@
481 AUTOHEADER = @AUTOHEADER@
482 AUTOMAKE = @AUTOMAKE@
483 AWK = @AWK@
484 CC = @CC@
485 CCDEPMODE = @CCDEPMODE@
486 CFLAGS = @CFLAGS@
487 CHKTEX_TREE = @CHKTEX_TREE@
488 CPPFLAGS = @CPPFLAGS@
489 CSCOPE = @CSCOPE@
490 CTAGS = @CTAGS@
491 CYGPATH_W = @CYGPATH_W@
492 DEFS = @DEFS@
493 DEPDIR = @DEPDIR@
494 DLLTOOL = @DLLTOOL@
495 DSYMUTIL = @DSYMUTIL@
496 DUMPBIN = @DUMPBIN@
497 DVIPS = @DVIPS@
498 ECHO_C = @ECHO_C@
499 ECHO_N = @ECHO_N@
500 ECHO_T = @ECHO_T@
501 EGREP = @EGREP@
502 ETAGS = @ETAGS@
503 EXEEXT = @EXEEXT@
504 FGREP = @FGREP@
505 FILECMD = @FILECMD@
506 GREP = @GREP@
507 INSTALL = @INSTALL@
508 INSTALL_DATA = @INSTALL_DATA@
509 INSTALL_PROGRAM = @INSTALL_PROGRAM@
510 INSTALL_SCRIPT = @INSTALL_SCRIPT@
511 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
512 KPATHSEA_DEPEND = @KPATHSEA_DEPEND@
513 KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@
514 KPATHSEA_LIBS = @KPATHSEA_LIBS@
515 LATEX = @LATEX@
516 LD = @LD@
517 LDFLAGS = @LDFLAGS@
518 LIBOBJS = @LIBOBJS@
519 LIBS = @LIBS@
520 LIBTOOL = @LIBTOOL@
521 LIPO = @LIPO@
522 LN_S = @LN_S@
523 LTLIBOBJS = @LTLIBOBJS@
524 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
525 MAINT = @MAINT@
526 MAKEINFO = @MAKEINFO@
527 MANIFEST_TOOL = @MANIFEST_TOOL@
528 MKDIR_P = @MKDIR_P@
529 NM = @NM@
530 NMEDIT = @NMEDIT@
531 OBJDUMP = @OBJDUMP@
532 OBJEXT = @OBJEXT@
533 OTOOL = @OTOOL@
534 OTOOL64 = @OTOOL64@
535 PACKAGE = @PACKAGE@
536 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
537 PACKAGE_NAME = @PACKAGE_NAME@
538 PACKAGE_STRING = @PACKAGE_STRING@
539 PACKAGE_TARNAME = @PACKAGE_TARNAME@
540 PACKAGE_URL = @PACKAGE_URL@
541 PACKAGE_VERSION = @PACKAGE_VERSION@
542 PATH_SEPARATOR = @PATH_SEPARATOR@
543 PERL5 = @PERL5@
544 PKG_CONFIG = @PKG_CONFIG@
545 PS2PDF = @PS2PDF@
546 RANLIB = @RANLIB@
547 SED = @SED@
548 SET_MAKE = @SET_MAKE@
549 SHELL = @SHELL@
550 STRIP = @STRIP@
551 VERSION = @VERSION@
552 WARNING_CFLAGS = @WARNING_CFLAGS@
553 WIN_WRAPPER = @WIN_WRAPPER@
554 abs_builddir = @abs_builddir@
555 abs_srcdir = @abs_srcdir@
556 abs_top_builddir = @abs_top_builddir@
557 abs_top_srcdir = @abs_top_srcdir@
558 ac_ct_AR = @ac_ct_AR@
559 ac_ct_CC = @ac_ct_CC@
560 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
561 am__include = @am__include@
562 am__leading_dot = @am__leading_dot@
563 am__quote = @am__quote@
564 am__rm_f_notfound = @am__rm_f_notfound@
565 am__tar = @am__tar@
566 am__untar = @am__untar@
567 am__xargs_n = @am__xargs_n@
568 bindir = @bindir@
569 build = @build@
570 build_alias = @build_alias@
571 build_cpu = @build_cpu@
572 build_os = @build_os@
573 build_vendor = @build_vendor@
574 builddir = @builddir@
575 datadir = @datadir@
576 datarootdir = @datarootdir@
577 docdir = @docdir@
578 dvidir = @dvidir@
579 exec_prefix = @exec_prefix@
580 host = @host@
581 host_alias = @host_alias@
582 host_cpu = @host_cpu@
583 host_os = @host_os@
584 host_vendor = @host_vendor@
585 htmldir = @htmldir@
586 includedir = @includedir@
587 infodir = @infodir@
588 install_sh = @install_sh@
589 libdir = @libdir@
590 libexecdir = @libexecdir@
591 localedir = @localedir@
592 localstatedir = @localstatedir@
593 mandir = @mandir@
594 mkdir_p = @mkdir_p@
595 oldincludedir = @oldincludedir@
596 pdfdir = @pdfdir@
597 prefix = @prefix@
598 program_transform_name = @program_transform_name@
599 psdir = @psdir@
600 runstatedir = @runstatedir@
601 sbindir = @sbindir@
602 sharedstatedir = @sharedstatedir@
603 srcdir = @srcdir@
604 sysconfdir = @sysconfdir@
605 target_alias = @target_alias@
606 top_build_prefix = @top_build_prefix@
607 top_builddir = @top_builddir@
608 top_srcdir = @top_srcdir@
609 EXTRA_DIST = $(CHKTEX_TREE) TLpatches regex/COPYING.LIB regex/README \
610 $(top_builddir)/../../build-aux/relpath ChkTeX.pdf ChkTeX.tex \
611 $(TESTS)
612 NEVER_DIST = `find . $(NEVER_NAMES)`
613
614 # Files not to be distributed
615 NEVER_NAMES = -name .svn $(NEVER_NAMES_SUB)
616 NEVER_NAMES_SUB = -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'
617 NEVER_NAMES_LT = -o -name .libs -o -name '*.lo'
618 AM_CPPFLAGS = $(REGEX_INCLUDES) $(KPATHSEA_INCLUDES) -DKPATHSEA
619 AM_CFLAGS = $(WARNING_CFLAGS)
620 chktex_SOURCES = @CHKTEX_TREE@/ChkTeX.c @CHKTEX_TREE@/ChkTeX.h \
621 @CHKTEX_TREE@/FindErrs.c @CHKTEX_TREE@/FindErrs.h \
622 @CHKTEX_TREE@/OpSys.c @CHKTEX_TREE@/OpSys.h \
623 @CHKTEX_TREE@/Resource.c @CHKTEX_TREE@/Resource.h \
624 @CHKTEX_TREE@/Utility.c @CHKTEX_TREE@/Utility.h \
625 @CHKTEX_TREE@/types.h $(am__append_1)
626 @MINGW32_TRUE@REGEX_INCLUDES = -I$(srcdir)/regex
627 EXTRA_chktex_SOURCES = \
628 regex/regcomp.c \
629 regex/regex_internal.c \
630 regex/regex_internal.h \
631 regex/regexec.c
632
633 LDADD = $(KPATHSEA_LIBS)
634 man_MANS = \
635 $(CHKTEX_TREE)/chktex.1 \
636 $(CHKTEX_TREE)/chkweb.1 \
637 $(CHKTEX_TREE)/deweb.1
638
639
640 # scripts
641 perl_scripts = deweb
642 sh_scripts = chkweb
643 scriptsdir = texmf-dist/scripts/chktex
644 nodist_bin_SCRIPTS = $(am__append_2)
645 all_scripts = $(lua_scripts) $(perl_scripts) $(shell_scripts)
646 @WIN32_TRUE@@WIN32_WRAP_TRUE@wrappers = $(all_scripts:=.exe)
647 @WIN32_TRUE@@WIN32_WRAP_TRUE@runscript = $(top_srcdir)/../../texk/texlive/$(WIN_WRAPPER)/runscript.exe
648 texmfdir = $(datarootdir)/$(scriptsdir)
649 nodist_texmf_SCRIPTS = $(perl_scripts:=.pl)
650 texmf_SCRIPTS = $(CHKTEX_TREE)/chkweb.sh
651
652 # resource file
653 configdir = $(datarootdir)/texmf-dist/chktex
654 config_DATA = $(CHKTEX_TREE)/../chktexrc
655
656 # documentation
657 pdfdocdir = $(datarootdir)/texmf-dist/doc/chktex
658 pdfdoc_DATA = ChkTeX.pdf
659 CLEANFILES = $(nodist_bin_SCRIPTS) ChkTeX.aux ChkTeX.dvi ChkTeX.log \
660 ChkTeX.ps stamp-ChkTeX chktest
661 TESTS = chktex.test
662 AM_TESTS_ENVIRONMENT = CHKTEX_TREE=$(CHKTEX_TREE); export CHKTEX_TREE; \
663 TEXMFCNF=$(abs_srcdir)/../kpathsea; export TEXMFCNF;
664 all: config.h
665 $(MAKE) $(AM_MAKEFLAGS) all-am
666
667 .SUFFIXES:
668 .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
669 am--refresh: Makefile
670 @:
671 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../am/dist_hook.am $(srcdir)/../../am/script_links.am $(am__configure_deps)
672 @for dep in $?; do \
673 case '$(am__configure_deps)' in \
674 *$$dep*) \
675 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
676 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
677 && exit 0; \
678 exit 1;; \
679 esac; \
680 done; \
681 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
682 $(am__cd) $(top_srcdir) && \
683 $(AUTOMAKE) --foreign Makefile
684 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
685 @case '$?' in \
686 *config.status*) \
687 echo ' $(SHELL) ./config.status'; \
688 $(SHELL) ./config.status;; \
689 *) \
690 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
691 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
692 esac;
693 $(srcdir)/../../am/dist_hook.am $(srcdir)/../../am/script_links.am $(am__empty):
694
695 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
696 $(SHELL) ./config.status --recheck
697
698 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
699 $(am__cd) $(srcdir) && $(AUTOCONF)
700 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
701 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
702 $(am__aclocal_m4_deps):
703
704 config.h: stamp-h1
705 @test -f $@ || rm -f stamp-h1
706 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
707
708 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
709 $(AM_V_at)rm -f stamp-h1
710 $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h
711 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
712 $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER))
713 $(AM_V_at)rm -f stamp-h1
714 $(AM_V_at)touch $@
715
716 distclean-hdr:
717 -rm -f config.h stamp-h1
718 ChkTeX.t: $(top_builddir)/config.status $(top_srcdir)/chktex-src/ChkTeX.tex.in
719 cd $(top_builddir) && $(SHELL) ./config.status $@
720 deweb.pl: $(top_builddir)/config.status $(top_srcdir)/chktex-src/deweb.in
721 cd $(top_builddir) && $(SHELL) ./config.status $@
722 install-binPROGRAMS: $(bin_PROGRAMS)
723 @$(NORMAL_INSTALL)
724 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
725 if test -n "$$list"; then \
726 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
727 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
728 fi; \
729 for p in $$list; do echo "$$p $$p"; done | \
730 sed 's/$(EXEEXT)$$//' | \
731 while read p p1; do if test -f $$p \
732 || test -f $$p1 \
733 ; then echo "$$p"; echo "$$p"; else :; fi; \
734 done | \
735 sed -e 'p;s,.*/,,;n;h' \
736 -e 's|.*|.|' \
737 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
738 sed 'N;N;N;s,\n, ,g' | \
739 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
740 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
741 if ($$2 == $$4) files[d] = files[d] " " $$1; \
742 else { print "f", $$3 "/" $$4, $$1; } } \
743 END { for (d in files) print "f", d, files[d] }' | \
744 while read type dir files; do \
745 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
746 test -z "$$files" || { \
747 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
748 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
749 } \
750 ; done
751
752 uninstall-binPROGRAMS:
753 @$(NORMAL_UNINSTALL)
754 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
755 files=`for p in $$list; do echo "$$p"; done | \
756 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
757 -e 's/$$/$(EXEEXT)/' \
758 `; \
759 test -n "$$list" || exit 0; \
760 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
761 cd "$(DESTDIR)$(bindir)" && $(am__rm_f) $$files
762
763 clean-binPROGRAMS:
764 $(am__rm_f) $(bin_PROGRAMS)
765 test -z "$(EXEEXT)" || $(am__rm_f) $(bin_PROGRAMS:$(EXEEXT)=)
766 @CHKTEX_TREE@/$(am__dirstamp):
767 @$(MKDIR_P) @CHKTEX_TREE@
768 @: >>@CHKTEX_TREE@/$(am__dirstamp)
769 @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp):
770 @$(MKDIR_P) @CHKTEX_TREE@/$(DEPDIR)
771 @: >>@CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
772 @CHKTEX_TREE@/ChkTeX.$(OBJEXT): @CHKTEX_TREE@/$(am__dirstamp) \
773 @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
774 @CHKTEX_TREE@/FindErrs.$(OBJEXT): @CHKTEX_TREE@/$(am__dirstamp) \
775 @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
776 @CHKTEX_TREE@/OpSys.$(OBJEXT): @CHKTEX_TREE@/$(am__dirstamp) \
777 @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
778 @CHKTEX_TREE@/Resource.$(OBJEXT): @CHKTEX_TREE@/$(am__dirstamp) \
779 @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
780 @CHKTEX_TREE@/Utility.$(OBJEXT): @CHKTEX_TREE@/$(am__dirstamp) \
781 @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
782 regex/$(am__dirstamp):
783 @$(MKDIR_P) regex
784 @: >>regex/$(am__dirstamp)
785 regex/$(DEPDIR)/$(am__dirstamp):
786 @$(MKDIR_P) regex/$(DEPDIR)
787 @: >>regex/$(DEPDIR)/$(am__dirstamp)
788 regex/regex.$(OBJEXT): regex/$(am__dirstamp) \
789 regex/$(DEPDIR)/$(am__dirstamp)
790 regex/regcomp.$(OBJEXT): regex/$(am__dirstamp) \
791 regex/$(DEPDIR)/$(am__dirstamp)
792 regex/regex_internal.$(OBJEXT): regex/$(am__dirstamp) \
793 regex/$(DEPDIR)/$(am__dirstamp)
794 regex/regexec.$(OBJEXT): regex/$(am__dirstamp) \
795 regex/$(DEPDIR)/$(am__dirstamp)
796
797 chktex$(EXEEXT): $(chktex_OBJECTS) $(chktex_DEPENDENCIES) $(EXTRA_chktex_DEPENDENCIES)
798 @rm -f chktex$(EXEEXT)
799 $(AM_V_CCLD)$(LINK) $(chktex_OBJECTS) $(chktex_LDADD) $(LIBS)
800 install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS)
801 @$(NORMAL_INSTALL)
802 @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
803 if test -n "$$list"; then \
804 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
805 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
806 fi; \
807 for p in $$list; do \
808 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
809 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
810 done | \
811 sed -e 'p;s,.*/,,;n' \
812 -e 'h;s|.*|.|' \
813 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
814 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
815 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
816 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
817 if (++n[d] == $(am__install_max)) { \
818 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
819 else { print "f", d "/" $$4, $$1 } } \
820 END { for (d in files) print "f", d, files[d] }' | \
821 while read type dir files; do \
822 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
823 test -z "$$files" || { \
824 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
825 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
826 } \
827 ; done
828
829 uninstall-nodist_binSCRIPTS:
830 @$(NORMAL_UNINSTALL)
831 @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
832 files=`for p in $$list; do echo "$$p"; done | \
833 sed -e 's,.*/,,;$(transform)'`; \
834 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
835 install-nodist_texmfSCRIPTS: $(nodist_texmf_SCRIPTS)
836 @$(NORMAL_INSTALL)
837 @list='$(nodist_texmf_SCRIPTS)'; test -n "$(texmfdir)" || list=; \
838 if test -n "$$list"; then \
839 echo " $(MKDIR_P) '$(DESTDIR)$(texmfdir)'"; \
840 $(MKDIR_P) "$(DESTDIR)$(texmfdir)" || exit 1; \
841 fi; \
842 for p in $$list; do \
843 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
844 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
845 done | \
846 sed -e 'p;s,.*/,,;n' \
847 -e 'h;s|.*|.|' \
848 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
849 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
850 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
851 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
852 if (++n[d] == $(am__install_max)) { \
853 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
854 else { print "f", d "/" $$4, $$1 } } \
855 END { for (d in files) print "f", d, files[d] }' | \
856 while read type dir files; do \
857 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
858 test -z "$$files" || { \
859 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmfdir)$$dir'"; \
860 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmfdir)$$dir" || exit $$?; \
861 } \
862 ; done
863
864 uninstall-nodist_texmfSCRIPTS:
865 @$(NORMAL_UNINSTALL)
866 @list='$(nodist_texmf_SCRIPTS)'; test -n "$(texmfdir)" || exit 0; \
867 files=`for p in $$list; do echo "$$p"; done | \
868 sed -e 's,.*/,,;$(transform)'`; \
869 dir='$(DESTDIR)$(texmfdir)'; $(am__uninstall_files_from_dir)
870 install-texmfSCRIPTS: $(texmf_SCRIPTS)
871 @$(NORMAL_INSTALL)
872 @list='$(texmf_SCRIPTS)'; test -n "$(texmfdir)" || list=; \
873 if test -n "$$list"; then \
874 echo " $(MKDIR_P) '$(DESTDIR)$(texmfdir)'"; \
875 $(MKDIR_P) "$(DESTDIR)$(texmfdir)" || exit 1; \
876 fi; \
877 for p in $$list; do \
878 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
879 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
880 done | \
881 sed -e 'p;s,.*/,,;n' \
882 -e 'h;s|.*|.|' \
883 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
884 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
885 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
886 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
887 if (++n[d] == $(am__install_max)) { \
888 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
889 else { print "f", d "/" $$4, $$1 } } \
890 END { for (d in files) print "f", d, files[d] }' | \
891 while read type dir files; do \
892 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
893 test -z "$$files" || { \
894 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmfdir)$$dir'"; \
895 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmfdir)$$dir" || exit $$?; \
896 } \
897 ; done
898
899 uninstall-texmfSCRIPTS:
900 @$(NORMAL_UNINSTALL)
901 @list='$(texmf_SCRIPTS)'; test -n "$(texmfdir)" || exit 0; \
902 files=`for p in $$list; do echo "$$p"; done | \
903 sed -e 's,.*/,,;$(transform)'`; \
904 dir='$(DESTDIR)$(texmfdir)'; $(am__uninstall_files_from_dir)
905
906 mostlyclean-compile:
907 -rm -f *.$(OBJEXT)
908 -rm -f @CHKTEX_TREE@/*.$(OBJEXT)
909 -rm -f regex/*.$(OBJEXT)
910
911 distclean-compile:
912 -rm -f *.tab.c
913
914 @AMDEP_TRUE@@am__include@ @am__quote@@CHKTEX_TREE@/$(DEPDIR)/ChkTeX.Po@am__quote@ # am--include-marker
915 @AMDEP_TRUE@@am__include@ @am__quote@@CHKTEX_TREE@/$(DEPDIR)/FindErrs.Po@am__quote@ # am--include-marker
916 @AMDEP_TRUE@@am__include@ @am__quote@@CHKTEX_TREE@/$(DEPDIR)/OpSys.Po@am__quote@ # am--include-marker
917 @AMDEP_TRUE@@am__include@ @am__quote@@CHKTEX_TREE@/$(DEPDIR)/Resource.Po@am__quote@ # am--include-marker
918 @AMDEP_TRUE@@am__include@ @am__quote@@CHKTEX_TREE@/$(DEPDIR)/Utility.Po@am__quote@ # am--include-marker
919 @AMDEP_TRUE@@am__include@ @am__quote@regex/$(DEPDIR)/regcomp.Po@am__quote@ # am--include-marker
920 @AMDEP_TRUE@@am__include@ @am__quote@regex/$(DEPDIR)/regex.Po@am__quote@ # am--include-marker
921 @AMDEP_TRUE@@am__include@ @am__quote@regex/$(DEPDIR)/regex_internal.Po@am__quote@ # am--include-marker
922 @AMDEP_TRUE@@am__include@ @am__quote@regex/$(DEPDIR)/regexec.Po@am__quote@ # am--include-marker
923
924 $(am__depfiles_remade):
925 @$(MKDIR_P) $(@D)
926 @: >>$@
927
928 am--depfiles: $(am__depfiles_remade)
929
930 .c.o:
931 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
932 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
933 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
934 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
935 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
936 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
937
938 .c.obj:
939 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
940 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
941 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
942 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
943 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
944 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
945
946 .c.lo:
947 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
948 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
949 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
950 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
951 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
952 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
953
954 mostlyclean-libtool:
955 -rm -f *.lo
956
957 clean-libtool:
958 -rm -rf .libs _libs
959
960 distclean-libtool:
961 -rm -f libtool config.lt
962 install-man1: $(man_MANS)
963 @$(NORMAL_INSTALL)
964 @list1=''; \
965 list2='$(man_MANS)'; \
966 test -n "$(man1dir)" \
967 && test -n "`echo $$list1$$list2`" \
968 || exit 0; \
969 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
970 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
971 { for i in $$list1; do echo "$$i"; done; \
972 if test -n "$$list2"; then \
973 for i in $$list2; do echo "$$i"; done \
974 | sed -n '/\.1[a-z]*$$/p'; \
975 fi; \
976 } | while read p; do \
977 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
978 echo "$$d$$p"; echo "$$p"; \
979 done | \
980 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
981 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
982 sed 'N;N;s,\n, ,g' | { \
983 list=; while read file base inst; do \
984 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
985 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
986 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
987 fi; \
988 done; \
989 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
990 while read files; do \
991 test -z "$$files" || { \
992 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
993 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
994 done; }
995
996 uninstall-man1:
997 @$(NORMAL_UNINSTALL)
998 @list=''; test -n "$(man1dir)" || exit 0; \
999 files=`{ for i in $$list; do echo "$$i"; done; \
1000 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1001 sed -n '/\.1[a-z]*$$/p'; \
1002 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1003 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1004 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
1005 install-configDATA: $(config_DATA)
1006 @$(NORMAL_INSTALL)
1007 @list='$(config_DATA)'; test -n "$(configdir)" || list=; \
1008 if test -n "$$list"; then \
1009 echo " $(MKDIR_P) '$(DESTDIR)$(configdir)'"; \
1010 $(MKDIR_P) "$(DESTDIR)$(configdir)" || exit 1; \
1011 fi; \
1012 for p in $$list; do \
1013 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1014 echo "$$d$$p"; \
1015 done | $(am__base_list) | \
1016 while read files; do \
1017 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(configdir)'"; \
1018 $(INSTALL_DATA) $$files "$(DESTDIR)$(configdir)" || exit $$?; \
1019 done
1020
1021 uninstall-configDATA:
1022 @$(NORMAL_UNINSTALL)
1023 @list='$(config_DATA)'; test -n "$(configdir)" || list=; \
1024 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1025 dir='$(DESTDIR)$(configdir)'; $(am__uninstall_files_from_dir)
1026 install-pdfdocDATA: $(pdfdoc_DATA)
1027 @$(NORMAL_INSTALL)
1028 @list='$(pdfdoc_DATA)'; test -n "$(pdfdocdir)" || list=; \
1029 if test -n "$$list"; then \
1030 echo " $(MKDIR_P) '$(DESTDIR)$(pdfdocdir)'"; \
1031 $(MKDIR_P) "$(DESTDIR)$(pdfdocdir)" || exit 1; \
1032 fi; \
1033 for p in $$list; do \
1034 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1035 echo "$$d$$p"; \
1036 done | $(am__base_list) | \
1037 while read files; do \
1038 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdocdir)'"; \
1039 $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdocdir)" || exit $$?; \
1040 done
1041
1042 uninstall-pdfdocDATA:
1043 @$(NORMAL_UNINSTALL)
1044 @list='$(pdfdoc_DATA)'; test -n "$(pdfdocdir)" || list=; \
1045 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1046 dir='$(DESTDIR)$(pdfdocdir)'; $(am__uninstall_files_from_dir)
1047
1048 ID: $(am__tagged_files)
1049 $(am__define_uniq_tagged_files); mkid -fID $$unique
1050 tags: tags-am
1051 TAGS: tags
1052
1053 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1054 set x; \
1055 here=`pwd`; \
1056 $(am__define_uniq_tagged_files); \
1057 shift; \
1058 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1059 test -n "$$unique" || unique=$$empty_fix; \
1060 if test $$# -gt 0; then \
1061 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1062 "$$@" $$unique; \
1063 else \
1064 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1065 $$unique; \
1066 fi; \
1067 fi
1068 ctags: ctags-am
1069
1070 CTAGS: ctags
1071 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1072 $(am__define_uniq_tagged_files); \
1073 test -z "$(CTAGS_ARGS)$$unique" \
1074 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1075 $$unique
1076
1077 GTAGS:
1078 here=`$(am__cd) $(top_builddir) && pwd` \
1079 && $(am__cd) $(top_srcdir) \
1080 && gtags -i $(GTAGS_ARGS) "$$here"
1081 cscope: cscope.files
1082 test ! -s cscope.files \
1083 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1084 clean-cscope:
1085 -rm -f cscope.files
1086 cscope.files: clean-cscope cscopelist
1087 cscopelist: cscopelist-am
1088
1089 cscopelist-am: $(am__tagged_files)
1090 list='$(am__tagged_files)'; \
1091 case "$(srcdir)" in \
1092 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1093 *) sdir=$(subdir)/$(srcdir) ;; \
1094 esac; \
1095 for i in $$list; do \
1096 if test -f "$$i"; then \
1097 echo "$(subdir)/$$i"; \
1098 else \
1099 echo "$$sdir/$$i"; \
1100 fi; \
1101 done >> $(top_builddir)/cscope.files
1102
1103 distclean-tags:
1104 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1105 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1106
1107 # Recover from deleted '.trs' file; this should ensure that
1108 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1109 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1110 # to avoid problems with "make -n".
1111 .log.trs:
1112 rm -f $< $@
1113 $(MAKE) $(AM_MAKEFLAGS) $<
1114
1115 # Leading 'am--fnord' is there to ensure the list of targets does not
1116 # expand to empty, as could happen e.g. with make check TESTS=''.
1117 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1118 am--force-recheck:
1119 @:
1120 $(TEST_SUITE_LOG): $(TEST_LOGS)
1121 @$(am__set_TESTS_bases); \
1122 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1123 redo_bases=`for i in $$bases; do \
1124 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1125 done`; \
1126 if test -n "$$redo_bases"; then \
1127 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1128 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1129 if $(am__make_dryrun); then :; else \
1130 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1131 fi; \
1132 fi; \
1133 if test -n "$$am__remaking_logs"; then \
1134 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1135 "recursion detected" >&2; \
1136 elif test -n "$$redo_logs"; then \
1137 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1138 fi; \
1139 if $(am__make_dryrun); then :; else \
1140 st=0; \
1141 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1142 for i in $$redo_bases; do \
1143 test -f $$i.trs && test -r $$i.trs \
1144 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1145 test -f $$i.log && test -r $$i.log \
1146 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1147 done; \
1148 test $$st -eq 0 || exit 1; \
1149 fi
1150 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1151 ws='[ ]'; \
1152 results=`for b in $$bases; do echo $$b.trs; done`; \
1153 test -n "$$results" || results=/dev/null; \
1154 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1155 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1156 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1157 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1158 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1159 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1160 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1161 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1162 success=true; \
1163 else \
1164 success=false; \
1165 fi; \
1166 br='==================='; br=$$br$$br$$br$$br; \
1167 result_count () \
1168 { \
1169 if test x"$$1" = x"--maybe-color"; then \
1170 maybe_colorize=yes; \
1171 elif test x"$$1" = x"--no-color"; then \
1172 maybe_colorize=no; \
1173 else \
1174 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1175 fi; \
1176 shift; \
1177 desc=$$1 count=$$2; \
1178 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1179 color_start=$$3 color_end=$$std; \
1180 else \
1181 color_start= color_end=; \
1182 fi; \
1183 echo "$${color_start}# $$desc $$count$${color_end}"; \
1184 }; \
1185 create_testsuite_report () \
1186 { \
1187 result_count $$1 "TOTAL:" $$all "$$brg"; \
1188 result_count $$1 "PASS: " $$pass "$$grn"; \
1189 result_count $$1 "SKIP: " $$skip "$$blu"; \
1190 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1191 result_count $$1 "FAIL: " $$fail "$$red"; \
1192 result_count $$1 "XPASS:" $$xpass "$$red"; \
1193 result_count $$1 "ERROR:" $$error "$$mgn"; \
1194 }; \
1195 output_system_information () \
1196 { \
1197 echo; \
1198 { uname -a | $(AWK) '{ \
1199 printf "System information (uname -a):"; \
1200 for (i = 1; i < NF; ++i) \
1201 { \
1202 if (i != 2) \
1203 printf " %s", $$i; \
1204 } \
1205 printf "\n"; \
1206 }'; } 2>&1; \
1207 if test -r /etc/os-release; then \
1208 echo "Distribution information (/etc/os-release):"; \
1209 sed 8q /etc/os-release; \
1210 elif test -r /etc/issue; then \
1211 echo "Distribution information (/etc/issue):"; \
1212 cat /etc/issue; \
1213 fi; \
1214 }; \
1215 please_report () \
1216 { \
1217 echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \
1218 echo "together with the test-suite.log file (gzipped) and your system"; \
1219 echo "information. Thanks."; \
1220 }; \
1221 { \
1222 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1223 $(am__rst_title); \
1224 create_testsuite_report --no-color; \
1225 output_system_information; \
1226 echo; \
1227 echo ".. contents:: :depth: 2"; \
1228 echo; \
1229 for b in $$bases; do echo $$b; done \
1230 | $(am__create_global_log); \
1231 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1232 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1233 if $$success; then \
1234 col="$$grn"; \
1235 else \
1236 col="$$red"; \
1237 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1238 fi; \
1239 echo "$${col}$$br$${std}"; \
1240 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
1241 echo "$${col}$$br$${std}"; \
1242 create_testsuite_report --maybe-color; \
1243 echo "$$col$$br$$std"; \
1244 if $$success; then :; else \
1245 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG) for debugging.$${std}";\
1246 if test -n "$(PACKAGE_BUGREPORT)"; then \
1247 please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \
1248 fi; \
1249 echo "$$col$$br$$std"; \
1250 fi; \
1251 $$success || exit 1
1252
1253 check-TESTS:
1254 @$(am__rm_f) $(RECHECK_LOGS)
1255 @$(am__rm_f) $(RECHECK_LOGS:.log=.trs)
1256 @$(am__rm_f) $(TEST_SUITE_LOG)
1257 @set +e; $(am__set_TESTS_bases); \
1258 log_list=`for i in $$bases; do echo $$i.log; done`; \
1259 log_list=`echo $$log_list`; \
1260 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1261 exit $$?;
1262 recheck: all
1263 @$(am__rm_f) $(TEST_SUITE_LOG)
1264 @set +e; $(am__set_TESTS_bases); \
1265 bases=`for i in $$bases; do echo $$i; done \
1266 | $(am__list_recheck_tests)` || exit 1; \
1267 log_list=`for i in $$bases; do echo $$i.log; done`; \
1268 log_list=`echo $$log_list`; \
1269 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1270 am__force_recheck=am--force-recheck \
1271 TEST_LOGS="$$log_list"; \
1272 exit $$?
1273 .test.log:
1274 @p='$<'; \
1275 $(am__set_b); \
1276 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1277 --log-file $$b.log --trs-file $$b.trs \
1278 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1279 "$$tst" $(AM_TESTS_FD_REDIRECT)
1280 @[email protected]$(EXEEXT).log:
1281 @am__EXEEXT_TRUE@ @p='$<'; \
1282 @am__EXEEXT_TRUE@ $(am__set_b); \
1283 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1284 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1285 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1286 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1287
1288 distdir: $(BUILT_SOURCES)
1289 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1290
1291 distdir-am: $(DISTFILES)
1292 $(am__remove_distdir)
1293 $(AM_V_at)$(MKDIR_P) "$(distdir)"
1294 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1295 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1296 list='$(DISTFILES)'; \
1297 dist_files=`for file in $$list; do echo $$file; done | \
1298 sed -e "s|^$$srcdirstrip/||;t" \
1299 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1300 case $$dist_files in \
1301 */*) $(MKDIR_P) `echo "$$dist_files" | \
1302 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1303 sort -u` ;; \
1304 esac; \
1305 for file in $$dist_files; do \
1306 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1307 if test -d $$d/$$file; then \
1308 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1309 if test -d "$(distdir)/$$file"; then \
1310 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1311 fi; \
1312 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1313 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1314 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1315 fi; \
1316 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1317 else \
1318 test -f "$(distdir)/$$file" \
1319 || cp -p $$d/$$file "$(distdir)/$$file" \
1320 || exit 1; \
1321 fi; \
1322 done
1323 $(MAKE) $(AM_MAKEFLAGS) \
1324 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1325 dist-hook
1326 -test -n "$(am__skip_mode_fix)" \
1327 || find "$(distdir)" -type d ! -perm -755 \
1328 -exec chmod u+rwx,go+rx {} \; -o \
1329 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1330 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1331 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1332 || chmod -R a+r "$(distdir)"
1333 dist-gzip: distdir
1334 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
1335 $(am__post_remove_distdir)
1336
1337 dist-bzip2: distdir
1338 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1339 $(am__post_remove_distdir)
1340
1341 dist-bzip3: distdir
1342 tardir=$(distdir) && $(am__tar) | bzip3 -c >$(distdir).tar.bz3
1343 $(am__post_remove_distdir)
1344
1345 dist-lzip: distdir
1346 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1347 $(am__post_remove_distdir)
1348
1349 dist-xz: distdir
1350 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1351 $(am__post_remove_distdir)
1352
1353 dist-zstd: distdir
1354 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
1355 $(am__post_remove_distdir)
1356
1357 dist-tarZ: distdir
1358 @echo WARNING: "Support for distribution archives compressed with" \
1359 "legacy program 'compress' is deprecated." >&2
1360 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1361 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1362 $(am__post_remove_distdir)
1363
1364 dist-shar: distdir
1365 @echo WARNING: "Support for shar distribution archives is" \
1366 "deprecated." >&2
1367 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1368 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
1369 $(am__post_remove_distdir)
1370
1371 dist-zip: distdir
1372 -rm -f $(distdir).zip
1373 zip -rq $(distdir).zip $(distdir)
1374 $(am__post_remove_distdir)
1375
1376 dist dist-all:
1377 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1378 $(am__post_remove_distdir)
1379
1380 # This target untars the dist file and tries a VPATH configuration. Then
1381 # it guarantees that the distribution is self-contained by making another
1382 # tarfile.
1383 distcheck: dist
1384 case '$(DIST_ARCHIVES)' in \
1385 *.tar.gz*) \
1386 eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1387 *.tar.bz2*) \
1388 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1389 *.tar.bz3*) \
1390 bzip3 -dc $(distdir).tar.bz3 | $(am__untar) ;;\
1391 *.tar.lz*) \
1392 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1393 *.tar.xz*) \
1394 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1395 *.tar.Z*) \
1396 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1397 *.shar.gz*) \
1398 eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
1399 *.zip*) \
1400 unzip $(distdir).zip ;;\
1401 *.tar.zst*) \
1402 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
1403 esac
1404 chmod -R a-w $(distdir)
1405 chmod u+w $(distdir)
1406 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1407 chmod a-w $(distdir)
1408 test -d $(distdir)/_build || exit 0; \
1409 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1410 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1411 && am__cwd=`pwd` \
1412 && $(am__cd) $(distdir)/_build/sub \
1413 && ../../configure \
1414 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1415 $(DISTCHECK_CONFIGURE_FLAGS) \
1416 --srcdir=../.. --prefix="$$dc_install_base" \
1417 && $(MAKE) $(AM_MAKEFLAGS) \
1418 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
1419 && $(MAKE) $(AM_MAKEFLAGS) check \
1420 && $(MAKE) $(AM_MAKEFLAGS) install \
1421 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1422 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1423 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1424 distuninstallcheck \
1425 && chmod -R a-w "$$dc_install_base" \
1426 && ({ \
1427 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1428 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1429 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1430 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1431 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1432 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1433 && rm -rf "$$dc_destdir" \
1434 && $(MAKE) $(AM_MAKEFLAGS) dist \
1435 && rm -rf $(DIST_ARCHIVES) \
1436 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1437 && cd "$$am__cwd" \
1438 || exit 1
1439 $(am__post_remove_distdir)
1440 @(echo "$(distdir) archives ready for distribution: "; \
1441 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1442 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1443 distuninstallcheck:
1444 @test -n '$(distuninstallcheck_dir)' || { \
1445 echo 'ERROR: trying to run $@ with an empty' \
1446 '$$(distuninstallcheck_dir)' >&2; \
1447 exit 1; \
1448 }; \
1449 $(am__cd) '$(distuninstallcheck_dir)' || { \
1450 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1451 exit 1; \
1452 }; \
1453 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1454 || { echo "ERROR: files left after uninstall:" ; \
1455 if test -n "$(DESTDIR)"; then \
1456 echo " (check DESTDIR support)"; \
1457 fi ; \
1458 $(distuninstallcheck_listfiles) ; \
1459 exit 1; } >&2
1460 distcleancheck: distclean
1461 @if test '$(srcdir)' = . ; then \
1462 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1463 exit 1 ; \
1464 fi
1465 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1466 || { echo "ERROR: files left in build directory after distclean:" ; \
1467 $(distcleancheck_listfiles) ; \
1468 exit 1; } >&2
1469 check-am: all-am
1470 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1471 check: check-am
1472 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) config.h
1473 installdirs:
1474 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(pdfdocdir)"; do \
1475 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1476 done
1477 install: install-am
1478 install-exec: install-exec-am
1479 install-data: install-data-am
1480 uninstall: uninstall-am
1481
1482 install-am: all-am
1483 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1484
1485 installcheck: installcheck-am
1486 install-strip:
1487 if test -z '$(STRIP)'; then \
1488 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1489 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1490 install; \
1491 else \
1492 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1493 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1494 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1495 fi
1496 mostlyclean-generic:
1497 -$(am__rm_f) $(TEST_LOGS)
1498 -$(am__rm_f) $(TEST_LOGS:.log=.trs)
1499 -$(am__rm_f) $(TEST_SUITE_LOG)
1500
1501 clean-generic:
1502 -$(am__rm_f) $(CLEANFILES)
1503
1504 distclean-generic:
1505 -$(am__rm_f) $(CONFIG_CLEAN_FILES)
1506 -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
1507 -$(am__rm_f) @CHKTEX_TREE@/$(DEPDIR)/$(am__dirstamp)
1508 -$(am__rm_f) @CHKTEX_TREE@/$(am__dirstamp)
1509 -$(am__rm_f) regex/$(DEPDIR)/$(am__dirstamp)
1510 -$(am__rm_f) regex/$(am__dirstamp)
1511
1512 maintainer-clean-generic:
1513 @echo "This command is intended for maintainers to use"
1514 @echo "it deletes files that may require special tools to rebuild."
1515 clean: clean-am
1516
1517 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
1518
1519 distclean: distclean-am
1520 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1521 -rm -f @CHKTEX_TREE@/$(DEPDIR)/ChkTeX.Po
1522 -rm -f @CHKTEX_TREE@/$(DEPDIR)/FindErrs.Po
1523 -rm -f @CHKTEX_TREE@/$(DEPDIR)/OpSys.Po
1524 -rm -f @CHKTEX_TREE@/$(DEPDIR)/Resource.Po
1525 -rm -f @CHKTEX_TREE@/$(DEPDIR)/Utility.Po
1526 -rm -f regex/$(DEPDIR)/regcomp.Po
1527 -rm -f regex/$(DEPDIR)/regex.Po
1528 -rm -f regex/$(DEPDIR)/regex_internal.Po
1529 -rm -f regex/$(DEPDIR)/regexec.Po
1530 -rm -f Makefile
1531 distclean-am: clean-am distclean-compile distclean-generic \
1532 distclean-hdr distclean-libtool distclean-tags
1533
1534 dvi: dvi-am
1535
1536 dvi-am:
1537
1538 html: html-am
1539
1540 html-am:
1541
1542 info: info-am
1543
1544 info-am:
1545
1546 install-data-am: install-configDATA install-man \
1547 install-nodist_texmfSCRIPTS install-pdfdocDATA \
1548 install-texmfSCRIPTS
1549 @$(NORMAL_INSTALL)
1550 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1551 install-dvi: install-dvi-am
1552
1553 install-dvi-am:
1554
1555 install-exec-am: install-binPROGRAMS install-nodist_binSCRIPTS
1556
1557 install-html: install-html-am
1558
1559 install-html-am:
1560
1561 install-info: install-info-am
1562
1563 install-info-am:
1564
1565 install-man: install-man1
1566
1567 install-pdf: install-pdf-am
1568
1569 install-pdf-am:
1570
1571 install-ps: install-ps-am
1572
1573 install-ps-am:
1574
1575 installcheck-am:
1576
1577 maintainer-clean: maintainer-clean-am
1578 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1579 -rm -rf $(top_srcdir)/autom4te.cache
1580 -rm -f @CHKTEX_TREE@/$(DEPDIR)/ChkTeX.Po
1581 -rm -f @CHKTEX_TREE@/$(DEPDIR)/FindErrs.Po
1582 -rm -f @CHKTEX_TREE@/$(DEPDIR)/OpSys.Po
1583 -rm -f @CHKTEX_TREE@/$(DEPDIR)/Resource.Po
1584 -rm -f @CHKTEX_TREE@/$(DEPDIR)/Utility.Po
1585 -rm -f regex/$(DEPDIR)/regcomp.Po
1586 -rm -f regex/$(DEPDIR)/regex.Po
1587 -rm -f regex/$(DEPDIR)/regex_internal.Po
1588 -rm -f regex/$(DEPDIR)/regexec.Po
1589 -rm -f Makefile
1590 maintainer-clean-am: distclean-am maintainer-clean-generic
1591
1592 mostlyclean: mostlyclean-am
1593
1594 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1595 mostlyclean-libtool
1596
1597 pdf: pdf-am
1598
1599 pdf-am:
1600
1601 ps: ps-am
1602
1603 ps-am:
1604
1605 uninstall-am: uninstall-binPROGRAMS uninstall-configDATA uninstall-man \
1606 uninstall-nodist_binSCRIPTS uninstall-nodist_texmfSCRIPTS \
1607 uninstall-pdfdocDATA uninstall-texmfSCRIPTS
1608 @$(NORMAL_INSTALL)
1609 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1610 uninstall-man: uninstall-man1
1611
1612 .MAKE: all check-am install-am install-data-am install-strip \
1613 uninstall-am
1614
1615 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \
1616 check-TESTS check-am clean clean-binPROGRAMS clean-cscope \
1617 clean-generic clean-libtool cscope cscopelist-am ctags \
1618 ctags-am dist dist-all dist-bzip2 dist-bzip3 dist-gzip \
1619 dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
1620 dist-zstd distcheck distclean distclean-compile \
1621 distclean-generic distclean-hdr distclean-libtool \
1622 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1623 dvi-am html html-am info info-am install install-am \
1624 install-binPROGRAMS install-configDATA install-data \
1625 install-data-am install-data-hook install-dvi install-dvi-am \
1626 install-exec install-exec-am install-html install-html-am \
1627 install-info install-info-am install-man install-man1 \
1628 install-nodist_binSCRIPTS install-nodist_texmfSCRIPTS \
1629 install-pdf install-pdf-am install-pdfdocDATA install-ps \
1630 install-ps-am install-strip install-texmfSCRIPTS installcheck \
1631 installcheck-am installdirs maintainer-clean \
1632 maintainer-clean-generic mostlyclean mostlyclean-compile \
1633 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1634 recheck tags tags-am uninstall uninstall-am \
1635 uninstall-binPROGRAMS uninstall-configDATA uninstall-hook \
1636 uninstall-man uninstall-man1 uninstall-nodist_binSCRIPTS \
1637 uninstall-nodist_texmfSCRIPTS uninstall-pdfdocDATA \
1638 uninstall-texmfSCRIPTS
1639
1640 .PRECIOUS: Makefile
1641
1642 dist-hook:
1643 cd "$(distdir)" && rm -rf $(NEVER_DIST)
1644
1645 $(chktex_OBJECTS): $(KPATHSEA_DEPEND)
1646 .PHONY: install-lua-links install-perl-links install-shell-links install-sh-links \
1647 install-links uninstall-links
1648 @WIN32_TRUE@@WIN32_WRAP_TRUE@$(wrappers): $(runscript)
1649 @WIN32_TRUE@@WIN32_WRAP_TRUE@ $(AM_V_GEN)$(LN_S) $(runscript) $@
1650
1651 install-lua-links:
1652 @WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=lua EXT=lua install-links
1653
1654 install-perl-links:
1655 @WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=perl EXT=pl install-links
1656
1657 install-shell-links:
1658 @WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=shell EXT=sh install-links
1659
1660 install-sh-links:
1661 @WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=sh EXT=sh install-links
1662
1663 # We support native builds, multiplatform or not, as well as distro builds.
1664 install-links:
1665 @relpath="$(top_srcdir)/../../build-aux/relpath"; \
1666 test -r $$relpath || { \
1667 echo 'script_links.am:install-links: could not find relpath script'; \
1668 exit 1; \
1669 }; \
1670 REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \
1671 if test -z "$$REL"; then \
1672 echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \
1673 exit 1; \
1674 fi; \
1675 cd $(DESTDIR)$(bindir) && \
1676 for f in $($(TYPE)_scripts); do \
1677 rm -f $$f; \
1678 if $(AM_V_P); then echo "creating link '$$f' -> '$$REL/$(scriptsdir)/$$f.$(EXT)'"; \
1679 else echo " LINK $$f"; fi; \
1680 $(LN_S) $$REL/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
1681 done
1682
1683 uninstall-links:
1684 @WIN32_FALSE@ @for f in $(all_scripts) $(sh_scripts); do \
1685 @WIN32_FALSE@ echo "rm -f '$(DESTDIR)$(bindir)/$$f'"; \
1686 @WIN32_FALSE@ rm -f "$(DESTDIR)$(bindir)/$$f"; \
1687 @WIN32_FALSE@ done
1688
1689 install-data-hook: install-perl-links install-sh-links
1690 uninstall-hook: uninstall-links
1691
1692 @[email protected]: ChkTeX.tex
1693 @MAINTAINER_MODE_TRUE@ $(LATEX) ChkTeX.tex
1694 @MAINTAINER_MODE_TRUE@ $(DVIPS) -o ChkTeX.ps ChkTeX.dvi
1695 @MAINTAINER_MODE_TRUE@ $(PS2PDF) ChkTeX.ps $@
1696 @[email protected]: stamp-ChkTeX
1697 @MAINTAINER_MODE_TRUE@stamp-ChkTeX: ChkTeX.t
1698 @MAINTAINER_MODE_TRUE@ @if cmp -s $(srcdir)/ChkTeX.tex ChkTeX.t 2>/dev/null; then \
1699 @MAINTAINER_MODE_TRUE@ echo "ChkTeX.tex is unchanged"; \
1700 @MAINTAINER_MODE_TRUE@ else \
1701 @MAINTAINER_MODE_TRUE@ echo "cp ChkTeX.t ChkTeX.tex"; \
1702 @MAINTAINER_MODE_TRUE@ cp ChkTeX.t ChkTeX.tex; \
1703 @MAINTAINER_MODE_TRUE@ fi
1704 @MAINTAINER_MODE_TRUE@ date >$@
1705
1706 @KPATHSEA_RULE@
1707 chktex.log: chktex$(EXEEXT)
1708
1709 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1710 # Otherwise a system limit (for SysV at least) may be exceeded.
1711 .NOEXPORT:
1712
1713 # Tell GNU make to disable its built-in pattern rules.
1714 %:: %,v
1715 %:: RCS/%,v
1716 %:: RCS/%
1717 %:: s.%
1718 %:: SCCS/s.%