Ensure world-executable tests in the distribution.
[automake/plouj.git] / Makefile.in
blob24e5abc0248671e75b8d8d9b1ccaa4283f8d6f2c
1 # Makefile.in generated by automake 1.10a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 subdir = .
36 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
37 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
38 ChangeLog INSTALL NEWS THANKS TODO
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
41 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
42 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
43 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
44 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
45 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
46 $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
47 $(top_srcdir)/configure.ac
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 $(ACLOCAL_M4)
50 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51 configure.lineno config.status.lineno
52 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
53 CONFIG_CLEAN_FILES =
54 am__installdirs = "$(DESTDIR)$(bindir)"
55 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
56 SCRIPTS = $(bin_SCRIPTS)
57 SOURCES =
58 DIST_SOURCES =
59 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
60 html-recursive info-recursive install-data-recursive \
61 install-dvi-recursive install-exec-recursive \
62 install-html-recursive install-info-recursive \
63 install-pdf-recursive install-ps-recursive install-recursive \
64 installcheck-recursive installdirs-recursive pdf-recursive \
65 ps-recursive uninstall-recursive
66 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
67 distclean-recursive maintainer-clean-recursive
68 ETAGS = etags
69 CTAGS = ctags
70 DIST_SUBDIRS = $(SUBDIRS)
71 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
72 distdir = $(PACKAGE)-$(VERSION)
73 top_distdir = $(distdir)
74 am__remove_distdir = \
75 { test ! -d "$(distdir)" \
76 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
77 && rm -fr "$(distdir)"; }; }
78 am__relativize = \
79 dir0=`pwd`; \
80 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
81 sed_rest='s,^[^/]*/*,,'; \
82 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
83 sed_butlast='s,/*[^/]*$$,,'; \
84 while test -n "$$dir1"; do \
85 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
86 if test "$$first" != "."; then \
87 if test "$$first" = ".."; then \
88 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
89 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
90 else \
91 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
92 if test "$$first2" = "$$first"; then \
93 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
94 else \
95 dir2="../$$dir2"; \
96 fi; \
97 dir0="$$dir0"/"$$first"; \
98 fi; \
99 fi; \
100 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
101 done; \
102 reldir="$$dir2"
103 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
104 GZIP_ENV = --best
105 distuninstallcheck_listfiles = find . -type f -print
106 distcleancheck_listfiles = find . -type f -print
107 ACLOCAL = @ACLOCAL@
108 AMTAR = @AMTAR@
109 APIVERSION = @APIVERSION@
110 AUTOCONF = @AUTOCONF@
111 AUTOHEADER = @AUTOHEADER@
112 AUTOMAKE = @AUTOMAKE@
113 AWK = @AWK@
114 CYGPATH_W = @CYGPATH_W@
115 DEFS = @DEFS@
116 ECHO_C = @ECHO_C@
117 ECHO_N = @ECHO_N@
118 ECHO_T = @ECHO_T@
119 EGREP = @EGREP@
120 FGREP = @FGREP@
121 GREP = @GREP@
122 INSTALL = @INSTALL@
123 INSTALL_DATA = @INSTALL_DATA@
124 INSTALL_PROGRAM = @INSTALL_PROGRAM@
125 INSTALL_SCRIPT = @INSTALL_SCRIPT@
126 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127 LIBOBJS = @LIBOBJS@
128 LIBS = @LIBS@
129 LN = @LN@
130 LTLIBOBJS = @LTLIBOBJS@
131 MAKEINFO = @MAKEINFO@
132 MKDIR_P = @MKDIR_P@
133 MODIFICATION_DELAY = @MODIFICATION_DELAY@
134 PACKAGE = @PACKAGE@
135 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
136 PACKAGE_NAME = @PACKAGE_NAME@
137 PACKAGE_STRING = @PACKAGE_STRING@
138 PACKAGE_TARNAME = @PACKAGE_TARNAME@
139 PACKAGE_VERSION = @PACKAGE_VERSION@
140 PATH_SEPARATOR = @PATH_SEPARATOR@
141 PERL = @PERL@
142 SET_MAKE = @SET_MAKE@
143 SHELL = @SHELL@
144 STRIP = @STRIP@
145 TEX = @TEX@
146 VERSION = @VERSION@
147 abs_builddir = @abs_builddir@
148 abs_srcdir = @abs_srcdir@
149 abs_top_builddir = @abs_top_builddir@
150 abs_top_srcdir = @abs_top_srcdir@
151 am_AUTOCONF = @am_AUTOCONF@
152 am__leading_dot = @am__leading_dot@
153 am__tar = @am__tar@
154 am__untar = @am__untar@
155 bindir = @bindir@
156 build = @build@
157 build_alias = @build_alias@
158 build_cpu = @build_cpu@
159 build_os = @build_os@
160 build_vendor = @build_vendor@
161 builddir = @builddir@
162 datadir = @datadir@
163 datarootdir = @datarootdir@
164 docdir = @docdir@
165 dvidir = @dvidir@
166 exec_prefix = @exec_prefix@
167 host_alias = @host_alias@
168 htmldir = @htmldir@
169 includedir = @includedir@
170 infodir = @infodir@
171 install_sh = @install_sh@
172 libdir = @libdir@
173 libexecdir = @libexecdir@
174 localedir = @localedir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 mkdir_p = @mkdir_p@
178 oldincludedir = @oldincludedir@
179 pdfdir = @pdfdir@
180 pkgvdatadir = @pkgvdatadir@
181 prefix = @prefix@
182 program_transform_name = @program_transform_name@
183 psdir = @psdir@
184 sbindir = @sbindir@
185 sharedstatedir = @sharedstatedir@
186 srcdir = @srcdir@
187 sysconfdir = @sysconfdir@
188 target_alias = @target_alias@
189 top_builddir = @top_builddir@
190 top_srcdir = @top_srcdir@
191 SUBDIRS = lib . doc m4 tests
192 bin_SCRIPTS = automake aclocal
193 CLEANFILES = $(bin_SCRIPTS)
194 AUTOMAKESOURCES = automake.in aclocal.in
195 TAGS_FILES = $(AUTOMAKESOURCES)
196 EXTRA_DIST = \
197 ChangeLog.96 \
198 ChangeLog.98 \
199 ChangeLog.00 \
200 ChangeLog.01 \
201 ChangeLog.02 \
202 ChangeLog.03 \
203 ChangeLog.04 \
204 $(AUTOMAKESOURCES)
206 do_subst = sed \
207 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
208 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
209 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
210 -e 's,[@]PERL[@],$(PERL),g' \
211 -e 's,[@]SHELL[@],$(SHELL),g' \
212 -e 's,[@]VERSION[@],$(VERSION),g' \
213 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
214 -e 's,[@]datadir[@],$(datadir),g'
216 WGET = wget
217 WGETSGO = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
218 FETCHFILES = \
219 INSTALL \
220 config-ml.in \
221 config.guess \
222 config.sub \
223 symlink-tree \
224 texinfo.tex
226 all: all-recursive
228 .SUFFIXES:
229 am--refresh:
231 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
232 @for dep in $?; do \
233 case '$(am__configure_deps)' in \
234 *$$dep*) \
235 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
236 cd $(srcdir) && $(AUTOMAKE) --gnu \
237 && exit 0; \
238 exit 1;; \
239 esac; \
240 done; \
241 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
242 cd $(top_srcdir) && \
243 $(AUTOMAKE) --gnu Makefile
244 .PRECIOUS: Makefile
245 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
246 @case '$?' in \
247 *config.status*) \
248 echo ' $(SHELL) ./config.status'; \
249 $(SHELL) ./config.status;; \
250 *) \
251 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
252 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
253 esac;
255 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
256 $(SHELL) ./config.status --recheck
258 $(top_srcdir)/configure: $(am__configure_deps)
259 cd $(srcdir) && $(AUTOCONF)
260 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
261 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
262 $(am__aclocal_m4_deps):
263 install-binSCRIPTS: $(bin_SCRIPTS)
264 @$(NORMAL_INSTALL)
265 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
266 @list='$(bin_SCRIPTS)'; for p in $$list; do \
267 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
268 if test -f $$d$$p; then \
269 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
270 echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
271 $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
272 else :; fi; \
273 done
275 uninstall-binSCRIPTS:
276 @$(NORMAL_UNINSTALL)
277 @list='$(bin_SCRIPTS)'; for p in $$list; do \
278 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
279 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
280 rm -f "$(DESTDIR)$(bindir)/$$f"; \
281 done
283 # This directory's subdirectories are mostly independent; you can cd
284 # into them and run `make' without going through this Makefile.
285 # To change the values of `make' variables: instead of editing Makefiles,
286 # (1) if the variable is set in `config.status', edit `config.status'
287 # (which will cause the Makefiles to be regenerated when you run `make');
288 # (2) otherwise, pass the desired values on the `make' command line.
289 $(RECURSIVE_TARGETS):
290 @failcom='exit 1'; \
291 for f in x $$MAKEFLAGS; do \
292 case $$f in \
293 *=* | --[!k]*);; \
294 *k*) failcom='fail=yes';; \
295 esac; \
296 done; \
297 dot_seen=no; \
298 target=`echo $@ | sed s/-recursive//`; \
299 list='$(SUBDIRS)'; for subdir in $$list; do \
300 echo "Making $$target in $$subdir"; \
301 if test "$$subdir" = "."; then \
302 dot_seen=yes; \
303 local_target="$$target-am"; \
304 else \
305 local_target="$$target"; \
306 fi; \
307 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
308 || eval $$failcom; \
309 done; \
310 if test "$$dot_seen" = "no"; then \
311 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
312 fi; test -z "$$fail"
314 $(RECURSIVE_CLEAN_TARGETS):
315 @failcom='exit 1'; \
316 for f in x $$MAKEFLAGS; do \
317 case $$f in \
318 *=* | --[!k]*);; \
319 *k*) failcom='fail=yes';; \
320 esac; \
321 done; \
322 dot_seen=no; \
323 case "$@" in \
324 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
325 *) list='$(SUBDIRS)' ;; \
326 esac; \
327 rev=''; for subdir in $$list; do \
328 if test "$$subdir" = "."; then :; else \
329 rev="$$subdir $$rev"; \
330 fi; \
331 done; \
332 rev="$$rev ."; \
333 target=`echo $@ | sed s/-recursive//`; \
334 for subdir in $$rev; do \
335 echo "Making $$target in $$subdir"; \
336 if test "$$subdir" = "."; then \
337 local_target="$$target-am"; \
338 else \
339 local_target="$$target"; \
340 fi; \
341 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
342 || eval $$failcom; \
343 done && test -z "$$fail"
344 tags-recursive:
345 list='$(SUBDIRS)'; for subdir in $$list; do \
346 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
347 done
348 ctags-recursive:
349 list='$(SUBDIRS)'; for subdir in $$list; do \
350 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
351 done
353 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
354 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
355 unique=`for i in $$list; do \
356 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
357 done | \
358 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
359 END { if (nonempty) { for (i in files) print i; }; }'`; \
360 mkid -fID $$unique
361 tags: TAGS
363 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
364 $(TAGS_FILES) $(LISP)
365 set x; \
366 here=`pwd`; \
367 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
368 include_option=--etags-include; \
369 empty_fix=.; \
370 else \
371 include_option=--include; \
372 empty_fix=; \
373 fi; \
374 list='$(SUBDIRS)'; for subdir in $$list; do \
375 if test "$$subdir" = .; then :; else \
376 test ! -f $$subdir/TAGS || \
377 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
378 fi; \
379 done; \
380 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
381 unique=`for i in $$list; do \
382 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383 done | \
384 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
385 END { if (nonempty) { for (i in files) print i; }; }'`; \
386 shift; \
387 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
388 test -n "$$unique" || unique=$$empty_fix; \
389 if test $$# -gt 0; then \
390 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
391 "$$@" $$unique; \
392 else \
393 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
394 $$unique; \
395 fi; \
397 ctags: CTAGS
398 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
399 $(TAGS_FILES) $(LISP)
400 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
401 unique=`for i in $$list; do \
402 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
403 done | \
404 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
405 END { if (nonempty) { for (i in files) print i; }; }'`; \
406 test -z "$(CTAGS_ARGS)$$unique" \
407 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
408 $$unique
410 GTAGS:
411 here=`$(am__cd) $(top_builddir) && pwd` \
412 && cd $(top_srcdir) \
413 && gtags -i $(GTAGS_ARGS) "$$here"
415 distclean-tags:
416 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
418 distdir: $(DISTFILES)
419 $(am__remove_distdir)
420 test -d "$(distdir)" || mkdir "$(distdir)"
421 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
422 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
423 list='$(DISTFILES)'; \
424 dist_files=`for file in $$list; do echo $$file; done | \
425 sed -e "s|^$$srcdirstrip/||;t" \
426 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
427 case $$dist_files in \
428 */*) $(MKDIR_P) `echo "$$dist_files" | \
429 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
430 sort -u` ;; \
431 esac; \
432 for file in $$dist_files; do \
433 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
434 if test -d $$d/$$file; then \
435 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
436 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
437 cp -pR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
438 fi; \
439 cp -pR $$d/$$file "$(distdir)$$dir" || exit 1; \
440 else \
441 test -f "$(distdir)/$$file" \
442 || cp -p $$d/$$file "$(distdir)/$$file" \
443 || exit 1; \
444 fi; \
445 done
446 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
447 if test "$$subdir" = .; then :; else \
448 test -d "$(distdir)/$$subdir" \
449 || $(MKDIR_P) "$(distdir)/$$subdir" \
450 || exit 1; \
451 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
452 $(am__relativize); \
453 new_distdir=$$reldir; \
454 dir1=$$subdir; dir2="$(top_distdir)"; \
455 $(am__relativize); \
456 new_top_distdir=$$reldir; \
457 (cd $$subdir && \
458 $(MAKE) $(AM_MAKEFLAGS) \
459 top_distdir="$$new_top_distdir" \
460 distdir="$$new_distdir" \
461 am__remove_distdir=: \
462 am__skip_length_check=: \
463 distdir) \
464 || exit 1; \
465 fi; \
466 done
467 $(MAKE) $(AM_MAKEFLAGS) \
468 top_distdir="$(top_distdir)" distdir="$(distdir)" \
469 dist-hook
470 -find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
471 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
472 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
473 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
474 || chmod -R a+r "$(distdir)"
475 @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
476 grep '^...................................................................................................' 1>&2; then \
477 echo 'error: the above filenames are too long' 1>&2; \
478 exit 1; \
479 else :; fi
480 dist-gzip: distdir
481 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
482 $(am__remove_distdir)
483 dist-bzip2: distdir
484 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
485 $(am__remove_distdir)
487 dist-lzma: distdir
488 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
489 $(am__remove_distdir)
491 dist-tarZ: distdir
492 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
493 $(am__remove_distdir)
495 dist-shar: distdir
496 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
497 $(am__remove_distdir)
499 dist-zip: distdir
500 -rm -f $(distdir).zip
501 zip -rq $(distdir).zip $(distdir)
502 $(am__remove_distdir)
504 dist dist-all: distdir
505 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
506 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
507 $(am__remove_distdir)
509 # This target untars the dist file and tries a VPATH configuration. Then
510 # it guarantees that the distribution is self-contained by making another
511 # tarfile.
512 distcheck: dist
513 case '$(DIST_ARCHIVES)' in \
514 *.tar.gz*) \
515 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
516 *.tar.bz2*) \
517 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
518 *.tar.lzma*) \
519 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
520 *.tar.Z*) \
521 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
522 *.shar.gz*) \
523 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
524 *.zip*) \
525 unzip $(distdir).zip ;;\
526 esac
527 chmod -R a-w $(distdir); chmod a+w $(distdir)
528 mkdir $(distdir)/_build
529 mkdir $(distdir)/_inst
530 chmod a-w $(distdir)
531 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
532 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
533 && cd $(distdir)/_build \
534 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
535 $(DISTCHECK_CONFIGURE_FLAGS) \
536 && $(MAKE) $(AM_MAKEFLAGS) \
537 && $(MAKE) $(AM_MAKEFLAGS) dvi \
538 && $(MAKE) $(AM_MAKEFLAGS) check \
539 && $(MAKE) $(AM_MAKEFLAGS) install \
540 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
541 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
542 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
543 distuninstallcheck \
544 && chmod -R a-w "$$dc_install_base" \
545 && ({ \
546 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
547 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
548 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
549 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
550 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
551 } || { rm -rf "$$dc_destdir"; exit 1; }) \
552 && rm -rf "$$dc_destdir" \
553 && $(MAKE) $(AM_MAKEFLAGS) dist \
554 && rm -rf $(DIST_ARCHIVES) \
555 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
556 $(am__remove_distdir)
557 @(echo "$(distdir) archives ready for distribution: "; \
558 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
559 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
560 distuninstallcheck:
561 @cd '$(distuninstallcheck_dir)' \
562 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
563 || { echo "ERROR: files left after uninstall:" ; \
564 if test -n "$(DESTDIR)"; then \
565 echo " (check DESTDIR support)"; \
566 fi ; \
567 $(distuninstallcheck_listfiles) ; \
568 exit 1; } >&2
569 distcleancheck: distclean
570 @if test '$(srcdir)' = . ; then \
571 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
572 exit 1 ; \
574 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
575 || { echo "ERROR: files left in build directory after distclean:" ; \
576 $(distcleancheck_listfiles) ; \
577 exit 1; } >&2
578 check-am: all-am
579 check: check-recursive
580 all-am: Makefile $(SCRIPTS)
581 installdirs: installdirs-recursive
582 installdirs-am:
583 for dir in "$(DESTDIR)$(bindir)"; do \
584 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
585 done
586 install: install-recursive
587 install-exec: install-exec-recursive
588 install-data: install-data-recursive
589 uninstall: uninstall-recursive
591 install-am: all-am
592 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
594 installcheck: installcheck-recursive
595 install-strip:
596 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
597 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
598 `test -z '$(STRIP)' || \
599 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
600 mostlyclean-generic:
602 clean-generic:
603 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
605 distclean-generic:
606 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
608 maintainer-clean-generic:
609 @echo "This command is intended for maintainers to use"
610 @echo "it deletes files that may require special tools to rebuild."
611 clean: clean-recursive
613 clean-am: clean-generic mostlyclean-am
615 distclean: distclean-recursive
616 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
617 -rm -f Makefile
618 distclean-am: clean-am distclean-generic distclean-tags
620 dvi: dvi-recursive
622 dvi-am:
624 html: html-recursive
626 info: info-recursive
628 info-am:
630 install-data-am:
632 install-dvi: install-dvi-recursive
634 install-exec-am: install-binSCRIPTS
635 @$(NORMAL_INSTALL)
636 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
637 install-html: install-html-recursive
639 install-info: install-info-recursive
641 install-man:
643 install-pdf: install-pdf-recursive
645 install-ps: install-ps-recursive
647 installcheck-am:
649 maintainer-clean: maintainer-clean-recursive
650 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
651 -rm -rf $(top_srcdir)/autom4te.cache
652 -rm -f Makefile
653 maintainer-clean-am: distclean-am maintainer-clean-generic
655 mostlyclean: mostlyclean-recursive
657 mostlyclean-am: mostlyclean-generic
659 pdf: pdf-recursive
661 pdf-am:
663 ps: ps-recursive
665 ps-am:
667 uninstall-am: uninstall-binSCRIPTS
668 @$(NORMAL_INSTALL)
669 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
670 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
671 install-exec-am install-strip uninstall-am
673 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
674 all all-am am--refresh check check-am clean clean-generic \
675 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
676 dist-hook dist-lzma dist-shar dist-tarZ dist-zip distcheck \
677 distclean distclean-generic distclean-tags distcleancheck \
678 distdir distuninstallcheck dvi dvi-am html html-am info \
679 info-am install install-am install-binSCRIPTS install-data \
680 install-data-am install-dvi install-dvi-am install-exec \
681 install-exec-am install-exec-hook install-html install-html-am \
682 install-info install-info-am install-man install-pdf \
683 install-pdf-am install-ps install-ps-am install-strip \
684 installcheck installcheck-am installdirs installdirs-am \
685 maintainer-clean maintainer-clean-generic mostlyclean \
686 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
687 uninstall uninstall-am uninstall-binSCRIPTS uninstall-hook
690 install-exec-hook:
691 @$(POST_INSTALL)
692 @for p in $(bin_SCRIPTS); do \
693 f="`echo $$p|sed '$(transform)'`"; \
694 fv="$$f-$(APIVERSION)"; \
695 rm -f $(DESTDIR)$(bindir)/$$fv; \
696 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
697 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
698 done
700 uninstall-hook:
701 @for p in $(bin_SCRIPTS); do \
702 f="`echo $$p|sed '$(transform)'`"; \
703 fv="$$f-$(APIVERSION)"; \
704 rm -f $(DESTDIR)$(bindir)/$$fv; \
705 done
707 automake: automake.in
708 aclocal: aclocal.in
709 automake aclocal: Makefile
710 rm -f $@ $@.tmp
711 $(do_subst) $(srcdir)/$@.in >$@.tmp
712 chmod +x $@.tmp
713 chmod a-w $@.tmp
714 mv -f $@.tmp $@
716 INSTALL: lib/INSTALL
717 cp $(srcdir)/lib/INSTALL $@
719 ################################################################
721 # Ensure tests are world-executable
722 dist-hook:
723 cd $(distdir)/tests && chmod a+rx *.test
725 # Some simple checks, and then ordinary check. These are only really
726 # guaranteed to work on my machine.
727 maintainer-check: automake aclocal
728 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
729 echo "found too many diffs between automake.in and automake"; 1>&2; \
730 diff -c $(srcdir)/automake.in automake; \
731 exit 1; \
733 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
734 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
735 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
736 grep -F -v '$$$$'; then \
737 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
738 exit 1; \
739 else :; fi
740 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
741 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
742 echo "Suspicious 'rm' invocation." 1>&2; \
743 exit 1; \
744 else :; fi
745 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
746 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
747 exit 1; \
748 else :; fi
749 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
750 grep -F -v '$$(mkinstalldirs)'; then \
751 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
752 exit 1; \
753 else :; fi
754 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
755 $(srcdir)/lib/am/[a-z]*.am | \
756 grep -v ':##' | grep -v ': @\$$('; then \
757 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
758 exit 1; \
759 else :; fi
760 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
761 grep -F -v 'undef $$/'; then \
762 echo "Found undef in automake.in; use delete instead" 1>&2; \
763 exit 1; \
765 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
766 echo "Found bad split in the lines above." 1>&2; \
767 exit 1; \
769 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
770 $(srcdir)/lib/am/*.am; then \
771 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
772 exit 1; \
774 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
775 echo "Using @_ in a scalar context in the lines above." 1>&2; \
776 exit 1; \
778 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
779 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
780 exit 1; \
782 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
783 grep '^[ \t]*local [^*]'; then \
784 echo "Please avoid \`local'." 1>&2; \
785 exit 1; \
787 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
788 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
789 exit 1; \
791 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
792 grep -v 'AM_MAKEFLAGS'; then \
793 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
794 exit 1; \
796 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
797 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
798 exit 1; \
800 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
801 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
802 exit 1; \
804 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
805 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
806 exit 1; \
808 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
809 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
810 exit 1; \
812 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
813 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
814 exit 1; \
816 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
817 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
818 exit 1; \
820 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
821 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
822 exit 1; \
824 @for file in $(srcdir)/tests/*.test; do \
825 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
826 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
827 exit 1; \
828 fi; \
829 done
830 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
831 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
832 echo ' in the above lines, it is more portable.' 1>&2; \
833 exit 1; \
835 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
836 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
837 echo 'it is more portable.' 1>&2; \
838 exit 1; \
840 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
841 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
842 echo 'the above lines.' 1>&2; \
843 exit 1; \
845 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
846 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
847 exit 1; \
849 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
850 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
851 exit 1; \
853 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
854 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
855 exit 1; \
857 @if grep 'mkdir_p' $(srcdir)/automake.in \
858 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
859 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
860 exit 1; \
862 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
863 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
864 exit 1; \
866 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
867 echo "Unresolved @...@ substitution in automake" 1>&2; \
868 exit 1; \
869 fi; \
870 if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
871 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
872 exit 1; \
874 @if grep ' ' $(srcdir)/doc/automake.texi; then \
875 echo 'Do not use tabs in the manual.' 1>&2; \
876 exit 1; \
878 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
879 then \
880 echo 'Unescaped @.' 1>&2; \
881 exit 1; \
884 git-dist: maintainer-check
885 @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
886 echo "Get clcommit from module cvs-utils on Savannah."; \
887 exit 1; \
889 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
890 echo "NEWS not updated; not releasing" 1>&2; \
891 exit 1; \
893 $(MAKE) distcheck
894 cd $(srcdir) && clcommit && \
895 git tag -s `echo "Release-$(VERSION)" | sed 's/\./-/g'`
897 git-release: git-dist
898 case $(VERSION) in \
899 *[a-z]) dest=alpha;; \
900 *) dest=ftp;; \
901 esac; \
902 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
903 --to sources.redhat.com:~ftp/pub/automake \
904 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
906 cvs-diff:
907 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
908 if test -z "$$OLDVERSION"; then \
909 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
910 else prevno="$$OLDVERSION"; fi; \
911 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
912 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
913 > $(PACKAGE)-$$prevno-$(VERSION).diff
915 git-diff:
916 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
917 if test -z "$$OLDVERSION"; then \
918 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
919 else prevno="$$OLDVERSION"; fi; \
920 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
921 git diff $$prevver $$thisver $(PACKAGE) \
922 > $(PACKAGE)-$$prevno-$(VERSION).diff
924 path-check: distdir
925 (cd $(distdir) && \
926 find . -print | xargs pathchk -p); \
927 status=$$?; \
928 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
929 exit $$status
931 fetch:
932 rm -rf Fetchdir > /dev/null 2>&1
933 mkdir Fetchdir
934 (cd Fetchdir && \
935 $(WGETSGO)/config/config/config.guess; \
936 $(WGETSGO)/config/config/config.sub; \
937 $(WGETSGO)/texinfo/texinfo/doc/texinfo.tex; \
938 $(WGETSGO)/autoconf/autoconf/INSTALL; \
939 $(WGETSGO)/gcc/gcc/config-ml.in; \
940 $(WGETSGO)/gcc/gcc/symlink-tree)
941 @stat=0; for file in $(FETCHFILES); do \
942 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
943 >>Fetchdir/update.patch 2>/dev/null; then :; \
944 else \
945 stat=1; \
946 echo "Updating $(srcdir)/lib/$$file..."; \
947 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
948 fi; \
949 done; \
950 test $$stat = 0 || \
951 echo "See Fetchdir/update.patch for a log of the changes."; \
952 exit $$stat
954 # Tell versions [3.59,3.63) of GNU make to not export all variables.
955 # Otherwise a system limit (for SysV at least) may be exceeded.
956 .NOEXPORT: