1 # Makefile.in generated by automake 1.11 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
19 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
22 # This program is free software; you can redistribute it and/or modify
23 # it under the terms of the GNU General Public License as published by
24 # the Free Software Foundation; either version 2, or (at your option)
27 # This program is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU General Public License for more details.
32 # You should have received a copy of the GNU General Public License
33 # along with this program. If not, see <http://www.gnu.org/licenses/>.
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkglibexecdir = $(libexecdir)/@PACKAGE@
40 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41 install_sh_DATA = $(install_sh) -c -m 644
42 install_sh_PROGRAM = $(install_sh) -c
43 install_sh_SCRIPT = $(install_sh) -c
44 INSTALL_HEADER = $(INSTALL_DATA)
45 transform = $(program_transform_name)
52 build_triplet = @build@
54 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
55 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
56 ChangeLog INSTALL NEWS THANKS TODO
57 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
59 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
60 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
61 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
62 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
63 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
64 $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
65 $(top_srcdir)/configure.ac
66 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
69 configure.lineno config.status.lineno
70 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
72 CONFIG_CLEAN_VPATH_FILES =
73 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
74 am__vpath_adj = case $$p in \
75 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
78 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
80 am__nobase_strip_setup = \
81 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
83 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
84 am__nobase_list = $(am__nobase_strip_setup); \
85 for p in $$list; do echo "$$p $$p"; done | \
86 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
87 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
88 if (++n[$$2] == $(am__install_max)) \
89 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
90 END { for (dir in files) print dir, files[dir] }'
92 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
93 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
94 am__installdirs = "$(DESTDIR)$(bindir)"
95 SCRIPTS = $(bin_SCRIPTS)
98 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
99 html-recursive info-recursive install-data-recursive \
100 install-dvi-recursive install-exec-recursive \
101 install-html-recursive install-info-recursive \
102 install-pdf-recursive install-ps-recursive install-recursive \
103 installcheck-recursive installdirs-recursive pdf-recursive \
104 ps-recursive uninstall-recursive
105 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
106 distclean-recursive maintainer-clean-recursive
107 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
108 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
109 distdir dist dist-all distcheck
112 DIST_SUBDIRS = $(SUBDIRS)
113 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
114 distdir = $(PACKAGE)-$(VERSION)
115 top_distdir = $(distdir)
116 am__remove_distdir = \
117 { test ! -d "$(distdir)" \
118 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
119 && rm -fr "$(distdir)"; }; }
122 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
123 sed_rest='s,^[^/]*/*,,'; \
124 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
125 sed_butlast='s,/*[^/]*$$,,'; \
126 while test -n "$$dir1"; do \
127 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
128 if test "$$first" != "."; then \
129 if test "$$first" = ".."; then \
130 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
131 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
133 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
134 if test "$$first2" = "$$first"; then \
135 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
139 dir0="$$dir0"/"$$first"; \
142 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
145 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
147 distuninstallcheck_listfiles = find . -type f -print
148 distcleancheck_listfiles = find . -type f -print
151 APIVERSION = @APIVERSION@
152 AUTOCONF = @AUTOCONF@
153 AUTOHEADER = @AUTOHEADER@
154 AUTOMAKE = @AUTOMAKE@
156 CYGPATH_W = @CYGPATH_W@
164 HELP2MAN = @HELP2MAN@
166 INSTALL_DATA = @INSTALL_DATA@
167 INSTALL_PROGRAM = @INSTALL_PROGRAM@
168 INSTALL_SCRIPT = @INSTALL_SCRIPT@
169 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
173 LTLIBOBJS = @LTLIBOBJS@
174 MAKEINFO = @MAKEINFO@
176 MODIFICATION_DELAY = @MODIFICATION_DELAY@
178 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
179 PACKAGE_NAME = @PACKAGE_NAME@
180 PACKAGE_STRING = @PACKAGE_STRING@
181 PACKAGE_TARNAME = @PACKAGE_TARNAME@
182 PACKAGE_URL = @PACKAGE_URL@
183 PACKAGE_VERSION = @PACKAGE_VERSION@
184 PATH_SEPARATOR = @PATH_SEPARATOR@
186 PERL_THREADS = @PERL_THREADS@
187 SET_MAKE = @SET_MAKE@
192 abs_builddir = @abs_builddir@
193 abs_srcdir = @abs_srcdir@
194 abs_top_builddir = @abs_top_builddir@
195 abs_top_srcdir = @abs_top_srcdir@
196 am_AUTOCONF = @am_AUTOCONF@
197 am_AUTOHEADER = @am_AUTOHEADER@
198 am_AUTOM4TE = @am_AUTOM4TE@
199 am_AUTORECONF = @am_AUTORECONF@
200 am_AUTOUPDATE = @am_AUTOUPDATE@
201 am__leading_dot = @am__leading_dot@
203 am__untar = @am__untar@
206 build_alias = @build_alias@
207 build_cpu = @build_cpu@
208 build_os = @build_os@
209 build_vendor = @build_vendor@
210 builddir = @builddir@
212 datarootdir = @datarootdir@
215 exec_prefix = @exec_prefix@
216 host_alias = @host_alias@
218 includedir = @includedir@
220 install_sh = @install_sh@
222 libexecdir = @libexecdir@
223 localedir = @localedir@
224 localstatedir = @localstatedir@
227 oldincludedir = @oldincludedir@
229 pkgvdatadir = @pkgvdatadir@
231 program_transform_name = @program_transform_name@
234 sh_errexit_works = @sh_errexit_works@
235 sharedstatedir = @sharedstatedir@
237 sysconfdir = @sysconfdir@
238 target_alias = @target_alias@
239 top_build_prefix = @top_build_prefix@
240 top_builddir = @top_builddir@
241 top_srcdir = @top_srcdir@
242 SUBDIRS = lib . doc m4 tests
243 bin_SCRIPTS = automake aclocal
244 CLEANFILES = $(bin_SCRIPTS)
245 AUTOMAKESOURCES = automake.in aclocal.in
246 TAGS_FILES = $(AUTOMAKESOURCES)
260 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
261 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
262 -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
263 -e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \
264 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
265 -e 's,[@]PERL[@],$(PERL),g' \
266 -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
267 -e 's,[@]SHELL[@],$(SHELL),g' \
268 -e 's,[@]am_AUTOCONF[@],$(am_AUTOCONF),g' \
269 -e 's,[@]am_AUTOM4TE[@],$(am_AUTOM4TE),g' \
270 -e 's,[@]VERSION[@],$(VERSION),g' \
271 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
272 -e 's,[@]datadir[@],$(datadir),g'
275 # Some simple checks, and then ordinary check. These are only really
276 # guaranteed to work on my machine.
277 syntax_check_rules = \
279 sc_diff_automake_in_automake \
280 sc_diff_aclocal_in_automake \
282 sc_no_brace_variable_expansions \
284 sc_no_for_variable_in_macro \
286 sc_pre_normal_post_install_uninstall \
288 sc_perl_no_split_regex_space \
289 sc_cd_in_backquotes \
291 sc_perl_at_uscore_in_scalar_context \
292 sc_perl_local_no_parens \
294 sc_AMDEP_TRUE_in_automake_in \
295 sc_tests_make_without_am_makeflags \
296 sc_tests_plain_make \
297 sc_tests_plain_autoconf \
298 sc_tests_plain_autoupdate \
299 sc_tests_plain_automake \
300 sc_tests_plain_autom4te \
301 sc_tests_plain_autoheader \
302 sc_tests_plain_autoreconf \
303 sc_tests_here_document_format \
304 sc_tests_Exit_not_exit \
305 sc_tests_automake_fails \
306 sc_tests_plain_aclocal \
307 sc_tests_plain_perl \
308 sc_tests_required_after_defs \
309 sc_tests_overriding_macros_on_cmdline \
310 sc_tests_plain_sleep \
311 sc_tests_plain_egrep_fgrep \
312 sc_tests_PATH_SEPARATOR \
315 sc_unquoted_DESTDIR \
369 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
370 WGET_SV_GIT_CF = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
371 WGET_SV_GIT_AC = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
372 WGET_SV_GIT_GL = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
373 WGET_GCC = $(WGET) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
385 am--refresh: Makefile
387 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
389 case '$(am__configure_deps)' in \
391 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
392 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
397 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
398 $(am__cd) $(top_srcdir) && \
399 $(AUTOMAKE) --gnu Makefile
401 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
404 echo ' $(SHELL) ./config.status'; \
405 $(SHELL) ./config.status;; \
407 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
408 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
411 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
412 $(SHELL) ./config.status --recheck
414 $(top_srcdir)/configure: $(am__configure_deps)
415 $(am__cd) $(srcdir) && $(AUTOCONF)
416 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
417 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
418 $(am__aclocal_m4_deps):
419 install-binSCRIPTS: $(bin_SCRIPTS)
421 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
422 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
423 for p in $$list; do \
424 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
425 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
427 sed -e 'p;s,.*/,,;n' \
429 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
430 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
431 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
432 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
433 if (++n[d] == $(am__install_max)) { \
434 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
435 else { print "f", d "/" $$4, $$1 } } \
436 END { for (d in files) print "f", d, files[d] }' | \
437 while read type dir files; do \
438 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
439 test -z "$$files" || { \
440 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
441 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
445 uninstall-binSCRIPTS:
447 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
448 files=`for p in $$list; do echo "$$p"; done | \
449 sed -e 's,.*/,,;$(transform)'`; \
450 test -n "$$list" || exit 0; \
451 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
452 cd "$(DESTDIR)$(bindir)" && rm -f $$files
454 # This directory's subdirectories are mostly independent; you can cd
455 # into them and run `make' without going through this Makefile.
456 # To change the values of `make' variables: instead of editing Makefiles,
457 # (1) if the variable is set in `config.status', edit `config.status'
458 # (which will cause the Makefiles to be regenerated when you run `make');
459 # (2) otherwise, pass the desired values on the `make' command line.
460 $(RECURSIVE_TARGETS):
461 @fail= failcom='exit 1'; \
462 for f in x $$MAKEFLAGS; do \
465 *k*) failcom='fail=yes';; \
469 target=`echo $@ | sed s/-recursive//`; \
470 list='$(SUBDIRS)'; for subdir in $$list; do \
471 echo "Making $$target in $$subdir"; \
472 if test "$$subdir" = "."; then \
474 local_target="$$target-am"; \
476 local_target="$$target"; \
478 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
481 if test "$$dot_seen" = "no"; then \
482 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
485 $(RECURSIVE_CLEAN_TARGETS):
486 @fail= failcom='exit 1'; \
487 for f in x $$MAKEFLAGS; do \
490 *k*) failcom='fail=yes';; \
495 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
496 *) list='$(SUBDIRS)' ;; \
498 rev=''; for subdir in $$list; do \
499 if test "$$subdir" = "."; then :; else \
500 rev="$$subdir $$rev"; \
504 target=`echo $@ | sed s/-recursive//`; \
505 for subdir in $$rev; do \
506 echo "Making $$target in $$subdir"; \
507 if test "$$subdir" = "."; then \
508 local_target="$$target-am"; \
510 local_target="$$target"; \
512 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
514 done && test -z "$$fail"
516 list='$(SUBDIRS)'; for subdir in $$list; do \
517 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
520 list='$(SUBDIRS)'; for subdir in $$list; do \
521 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
524 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
525 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
526 unique=`for i in $$list; do \
527 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
529 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
530 END { if (nonempty) { for (i in files) print i; }; }'`; \
534 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
535 $(TAGS_FILES) $(LISP)
538 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
539 include_option=--etags-include; \
542 include_option=--include; \
545 list='$(SUBDIRS)'; for subdir in $$list; do \
546 if test "$$subdir" = .; then :; else \
547 test ! -f $$subdir/TAGS || \
548 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
551 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
552 unique=`for i in $$list; do \
553 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
555 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
556 END { if (nonempty) { for (i in files) print i; }; }'`; \
558 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
559 test -n "$$unique" || unique=$$empty_fix; \
560 if test $$# -gt 0; then \
561 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
564 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
569 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
570 $(TAGS_FILES) $(LISP)
571 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
572 unique=`for i in $$list; do \
573 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
575 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
576 END { if (nonempty) { for (i in files) print i; }; }'`; \
577 test -z "$(CTAGS_ARGS)$$unique" \
578 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
582 here=`$(am__cd) $(top_builddir) && pwd` \
583 && $(am__cd) $(top_srcdir) \
584 && gtags -i $(GTAGS_ARGS) "$$here"
587 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
589 distdir: $(DISTFILES)
590 $(am__remove_distdir)
591 test -d "$(distdir)" || mkdir "$(distdir)"
592 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
593 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
594 list='$(DISTFILES)'; \
595 dist_files=`for file in $$list; do echo $$file; done | \
596 sed -e "s|^$$srcdirstrip/||;t" \
597 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
598 case $$dist_files in \
599 */*) $(MKDIR_P) `echo "$$dist_files" | \
600 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
603 for file in $$dist_files; do \
604 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
605 if test -d $$d/$$file; then \
606 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
607 if test -d "$(distdir)/$$file"; then \
608 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
610 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
611 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
612 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
614 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
616 test -f "$(distdir)/$$file" \
617 || cp -p $$d/$$file "$(distdir)/$$file" \
621 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
622 if test "$$subdir" = .; then :; else \
623 test -d "$(distdir)/$$subdir" \
624 || $(MKDIR_P) "$(distdir)/$$subdir" \
628 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
629 if test "$$subdir" = .; then :; else \
630 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
632 new_distdir=$$reldir; \
633 dir1=$$subdir; dir2="$(top_distdir)"; \
635 new_top_distdir=$$reldir; \
636 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
637 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
638 ($(am__cd) $$subdir && \
639 $(MAKE) $(AM_MAKEFLAGS) \
640 top_distdir="$$new_top_distdir" \
641 distdir="$$new_distdir" \
642 am__remove_distdir=: \
643 am__skip_length_check=: \
644 am__skip_mode_fix=: \
649 $(MAKE) $(AM_MAKEFLAGS) \
650 top_distdir="$(top_distdir)" distdir="$(distdir)" \
652 -test -n "$(am__skip_mode_fix)" \
653 || find "$(distdir)" -type d ! -perm -755 \
654 -exec chmod u+rwx,go+rx {} \; -o \
655 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
656 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
657 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
658 || chmod -R a+r "$(distdir)"
659 @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
660 grep '^...................................................................................................' 1>&2; then \
661 echo 'error: the above filenames are too long' 1>&2; \
665 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
666 $(am__remove_distdir)
668 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
669 $(am__remove_distdir)
672 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
673 $(am__remove_distdir)
676 tardir=$(distdir) && $(am__tar) | xz -9 -c >$(distdir).tar.xz
677 $(am__remove_distdir)
680 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
681 $(am__remove_distdir)
684 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
685 $(am__remove_distdir)
688 -rm -f $(distdir).zip
689 zip -rq $(distdir).zip $(distdir)
690 $(am__remove_distdir)
692 dist dist-all: distdir
693 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
694 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
695 $(am__remove_distdir)
697 # This target untars the dist file and tries a VPATH configuration. Then
698 # it guarantees that the distribution is self-contained by making another
701 case '$(DIST_ARCHIVES)' in \
703 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
705 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
707 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
709 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
711 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
713 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
715 unzip $(distdir).zip ;;\
717 chmod -R a-w $(distdir); chmod a+w $(distdir)
718 mkdir $(distdir)/_build
719 mkdir $(distdir)/_inst
721 test -d $(distdir)/_build || exit 0; \
722 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
723 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
725 && $(am__cd) $(distdir)/_build \
726 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
727 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
728 $(DISTCHECK_CONFIGURE_FLAGS) \
729 && $(MAKE) $(AM_MAKEFLAGS) \
730 && $(MAKE) $(AM_MAKEFLAGS) dvi \
731 && $(MAKE) $(AM_MAKEFLAGS) check \
732 && $(MAKE) $(AM_MAKEFLAGS) install \
733 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
734 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
735 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
737 && chmod -R a-w "$$dc_install_base" \
739 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
740 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
741 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
742 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
743 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
744 } || { rm -rf "$$dc_destdir"; exit 1; }) \
745 && rm -rf "$$dc_destdir" \
746 && $(MAKE) $(AM_MAKEFLAGS) dist \
747 && rm -rf $(DIST_ARCHIVES) \
748 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
751 $(am__remove_distdir)
752 @(echo "$(distdir) archives ready for distribution: "; \
753 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
754 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
756 @$(am__cd) '$(distuninstallcheck_dir)' \
757 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
758 || { echo "ERROR: files left after uninstall:" ; \
759 if test -n "$(DESTDIR)"; then \
760 echo " (check DESTDIR support)"; \
762 $(distuninstallcheck_listfiles) ; \
764 distcleancheck: distclean
765 @if test '$(srcdir)' = . ; then \
766 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
769 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
770 || { echo "ERROR: files left in build directory after distclean:" ; \
771 $(distcleancheck_listfiles) ; \
774 check: check-recursive
775 all-am: Makefile $(SCRIPTS)
776 installdirs: installdirs-recursive
778 for dir in "$(DESTDIR)$(bindir)"; do \
779 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
781 install: install-recursive
782 install-exec: install-exec-recursive
783 install-data: install-data-recursive
784 uninstall: uninstall-recursive
787 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
789 installcheck: installcheck-recursive
791 if test -z '$(STRIP)'; then \
792 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
793 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
796 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
797 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
798 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
803 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
806 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
807 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
809 maintainer-clean-generic:
810 @echo "This command is intended for maintainers to use"
811 @echo "it deletes files that may require special tools to rebuild."
812 clean: clean-recursive
814 clean-am: clean-generic mostlyclean-am
816 distclean: distclean-recursive
817 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
819 distclean-am: clean-am distclean-generic distclean-tags
835 install-dvi: install-dvi-recursive
839 install-exec-am: install-binSCRIPTS
841 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
842 install-html: install-html-recursive
846 install-info: install-info-recursive
852 install-pdf: install-pdf-recursive
856 install-ps: install-ps-recursive
862 maintainer-clean: maintainer-clean-recursive
863 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
864 -rm -rf $(top_srcdir)/autom4te.cache
866 maintainer-clean-am: distclean-am maintainer-clean-generic
868 mostlyclean: mostlyclean-recursive
870 mostlyclean-am: mostlyclean-generic
880 uninstall-am: uninstall-binSCRIPTS
882 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
883 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
884 install-am install-exec-am install-strip tags-recursive \
887 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
888 all all-am am--refresh check check-am clean clean-generic \
889 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
890 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
891 distcheck distclean distclean-generic distclean-tags \
892 distcleancheck distdir distuninstallcheck dvi dvi-am html \
893 html-am info info-am install install-am install-binSCRIPTS \
894 install-data install-data-am install-dvi install-dvi-am \
895 install-exec install-exec-am install-exec-hook install-html \
896 install-html-am install-info install-info-am install-man \
897 install-pdf install-pdf-am install-ps install-ps-am \
898 install-strip installcheck installcheck-am installdirs \
899 installdirs-am maintainer-clean maintainer-clean-generic \
900 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
901 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
907 @for p in $(bin_SCRIPTS); do \
908 f="`echo $$p|sed '$(transform)'`"; \
909 fv="$$f-$(APIVERSION)"; \
910 rm -f $(DESTDIR)$(bindir)/$$fv; \
911 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
912 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
916 @for p in $(bin_SCRIPTS); do \
917 f="`echo $$p|sed '$(transform)'`"; \
918 fv="$$f-$(APIVERSION)"; \
919 rm -f $(DESTDIR)$(bindir)/$$fv; \
922 automake: automake.in
924 automake aclocal: Makefile
926 $(do_subst) $(srcdir)/$@.in >$@.tmp
932 cp $(srcdir)/lib/INSTALL $@
934 ################################################################
936 # Ensure tests are world-executable
938 cd $(distdir)/tests && chmod a+rx *.test
940 .PHONY: $(syntax_check_rules)
941 $(syntax_check_rules): automake aclocal
942 maintainer-check: $(syntax_check_rules)
944 @m4_builtin_rx=`echo $(m4_builtins) | sed 's/ /|/g'`; \
945 m4_macro_rx="\\<($$m4_builtin_rx)\\>|\\<_?(A[CUMHS]|m4)_"; \
946 if ls tests/*.test | LC_ALL=C grep -E "$$m4_macro_rx"; then \
947 echo "the names of the tests above can be problematic" 1>&2; \
948 echo "Avoid test names that contain names of m4 macros" 1>&2; \
952 sc_diff_automake_in_automake:
953 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 32; then \
954 echo "found too many diffs between automake.in and automake" 1>&2; \
955 diff -c $(srcdir)/automake.in automake; \
958 sc_diff_aclocal_in_aclocal:
959 @if test `diff $(srcdir)/aclocal.in aclocal | wc -l` -ne 34; then \
960 echo "found too many diffs between aclocal.in and aclocal" 1>&2; \
961 diff -c $(srcdir)/aclocal.in aclocal; \
966 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
967 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
969 sc_no_brace_variable_expansions:
970 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
971 grep -F -v '$$$$'; then \
972 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
977 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
978 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
979 echo "Suspicious 'rm' invocation." 1>&2; \
983 sc_no_for_variable_in_macro:
984 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
985 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
990 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
991 grep -F -v '$$(mkinstalldirs)'; then \
992 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
996 sc_pre_normal_post_install_uninstall:
997 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
998 $(srcdir)/lib/am/[a-z]*.am | \
999 grep -v ':##' | grep -v ': @\$$('; then \
1000 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
1005 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
1006 grep -F -v 'undef $$/'; then \
1007 echo "Found undef in automake.in; use delete instead" 1>&2; \
1011 sc_perl_no_split_regex_space:
1012 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
1013 echo "Found bad split in the lines above." 1>&2; \
1017 sc_cd_in_backquotes:
1018 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
1019 $(srcdir)/lib/am/*.am; then \
1020 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
1025 @if grep -n '^[^#]*cd ' $(srcdir)/automake.in \
1026 $(srcdir)/lib/am/*.am | \
1027 grep -v 'echo.*cd ' | \
1028 grep -v 'am__cd =' | \
1029 grep -v '^[^#]*cd [./]' | \
1030 grep -v '^[^#]*cd \$$(top_builddir)' | \
1031 grep -v '^[^#]*cd "\$$\$$am__cwd' | \
1032 grep -v '^[^#]*cd \$$(abs' | \
1033 grep -v '^[^#]*cd "\$$(DESTDIR)'; then \
1034 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
1038 sc_perl_at_uscore_in_scalar_context:
1039 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
1040 echo "Using @_ in a scalar context in the lines above." 1>&2; \
1044 sc_perl_local_no_parens:
1045 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
1046 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
1051 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
1052 grep '^[ \t]*local [^*]'; then \
1053 echo "Please avoid \`local'." 1>&2; \
1057 sc_AMDEP_TRUE_in_automake_in:
1058 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
1059 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
1063 sc_tests_make_without_am_makeflags:
1064 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
1065 grep -v 'AM_MAKEFLAGS'; then \
1066 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
1070 sc_tests_plain_make:
1071 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
1072 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
1076 sc_tests_plain_autoconf:
1077 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf\>'; then \
1078 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
1082 sc_tests_plain_autoupdate:
1083 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate\>'; then \
1084 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
1088 sc_tests_plain_automake:
1089 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake\>([^:]|$$)'; then \
1090 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
1094 sc_tests_plain_autoheader:
1095 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoheader\>'; then \
1096 echo 'Do not run "automake" in the above tests. Use "$$AUTOHEADER" instead.' 1>&2; \
1100 sc_tests_plain_autoreconf:
1101 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoreconf\>'; then \
1102 echo 'Do not run "automake" in the above tests. Use "$$AUTORECONF" instead.' 1>&2; \
1106 sc_tests_plain_autom4te:
1107 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autom4te\>'; then \
1108 echo 'Do not run "automake" in the above tests. Use "$$AUTOM4TE" instead.' 1>&2; \
1112 sc_tests_here_document_format:
1113 @if grep '<<' $(srcdir)/tests/*.test | grep -v 'END' | grep -v 'EOF'; then \
1114 echo 'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
1118 sc_tests_Exit_not_exit:
1119 @found=false; for file in $(srcdir)/tests/*.test; do \
1120 case $$file in */self-check-*.test) continue;; esac; \
1121 res=`sed -n -e '/^#/d; /^\$$PERL/d' -e '/<<.*END/,/^END/b' \
1122 -e '/<<.*EOF/,/^EOF/b' -e '/exit [$$0-9]/p' $$file`; \
1123 if test -n "$$res"; then \
1124 echo "$$file:$$res"; \
1129 echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
1133 sc_tests_automake_fails:
1134 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*[eE]xit'; then \
1135 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
1139 sc_tests_plain_aclocal:
1140 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal\>'; then \
1141 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
1145 sc_tests_plain_perl:
1146 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl\>'; then \
1147 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
1151 sc_tests_required_after_defs:
1152 @for file in $(srcdir)/tests/*.test; do \
1153 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
1154 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
1159 sc_tests_overriding_macros_on_cmdline:
1160 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
1161 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
1162 echo ' in the above lines, it is more portable.' 1>&2; \
1165 @if sed -e 's/ DESTDIR=[^ ]*/ /' -e 's/ SHELL=[^ ]*/ /' \
1166 -e 's/ V=[^ ]*/ /' -e 's///' \
1167 -e "s/ DISTCHECK_CONFIGURE_FLAGS='[^']*'/ /" \
1168 -e 's/ DISTCHECK_CONFIGURE_FLAGS="[^"]*"/ /' \
1169 -e 's/ DISTCHECK_CONFIGURE_FLAGS=[^ ]/ /' \
1170 $(srcdir)/tests/*.test | grep '\$$MAKE .*='; then \
1171 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
1172 echo 'it is more portable.' 1>&2; \
1175 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
1176 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
1177 echo 'the above lines.' 1>&2; \
1181 sc_tests_plain_sleep:
1182 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
1183 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
1187 sc_tests_plain_egrep_fgrep:
1188 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
1189 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
1192 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
1193 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
1197 sc_tests_PATH_SEPARATOR:
1198 @if grep -E '\bPATH=.*:.*' $(srcdir)/tests/*.test ; then \
1199 echo "Use \`\$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
1204 @if grep 'mkdir_p' $(srcdir)/automake.in \
1205 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
1206 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
1211 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
1212 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
1215 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
1216 echo "Unresolved @...@ substitution in automake" 1>&2; \
1220 sc_unquoted_DESTDIR:
1221 @if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
1222 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1227 @if grep ' ' $(srcdir)/doc/automake.texi; then \
1228 echo 'Do not use tabs in the manual.' 1>&2; \
1233 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
1235 echo 'Unescaped @.' 1>&2; \
1239 git-dist: maintainer-check
1240 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
1241 echo "NEWS not updated; not releasing" 1>&2; \
1244 $(MAKE) $(AM_MAKEFLAGS) distcheck
1245 cd $(srcdir) && git commit -a -s && \
1246 git tag -s "v$(VERSION)" -m "Release $(VERSION)"
1248 git-release: git-dist
1249 case $(VERSION) in \
1250 *[a-z]) dest=alpha;; \
1253 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
1254 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
1257 thisver="v$(VERSION)"; \
1258 if test -z "$$OLDVERSION"; then \
1259 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
1260 else prevno="$$OLDVERSION"; fi; \
1261 prevver=v$$prevno; \
1262 git diff $$prevver..$$thisver $(PACKAGE) \
1263 > $(PACKAGE)-$$prevno-$(VERSION).diff
1267 find . -print | xargs pathchk -p); \
1269 find $(distdir) -type d '!' -perm -200 -exec chmod u+w {} ';'; \
1270 rm -rf $(distdir); \
1274 rm -rf Fetchdir > /dev/null 2>&1
1277 $(WGET_SV_GIT_CF)config.guess -O config.guess && \
1278 $(WGET_SV_GIT_CF)config.sub -O config.sub && \
1279 $(WGET_SV_CVS)texinfo/texinfo/doc/texinfo.tex -O texinfo.tex && \
1280 $(WGET_SV_GIT_GL)doc/INSTALL -O INSTALL && \
1281 $(WGET_GCC)config-ml.in -O config-ml.in && \
1282 $(WGET_GCC)symlink-tree -O symlink-tree)
1283 @stat=0; for file in $(FETCHFILES); do \
1284 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
1285 >>Fetchdir/update.patch 2>/dev/null; then :; \
1288 echo "Updating $(srcdir)/lib/$$file..."; \
1289 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1292 test $$stat = 0 || \
1293 echo "See Fetchdir/update.patch for a log of the changes."; \
1297 @am=`wc -l < automake` && \
1298 acl=`wc -l < aclocal` && \
1299 pmfiles="lib/Automake/*.pm" && \
1300 if test . != '$(srcdir)'; then pmfiles="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1302 pm=`cat $$pmfiles | wc -l` && \
1303 dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1304 amf=`echo "$$dot_am_files" | wc -l` && \
1305 aml=`cat $$dot_am_files | wc -l` && \
1306 m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1307 m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1308 doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1309 echo "$$doc_text" && \
1310 rm -f doc/unused.ps && \
1311 doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1312 tests="tests/*.test"; \
1313 if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
1315 t=`ls -1 $$tests | wc -l` && \
1316 tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
1317 today=`date +%Y-%m-%d` && \
1318 echo "add this to the table in doc/automake.texi after verification:" && \
1319 printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1320 $$today $(VERSION) $$am $$acl $$pm $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1321 .PHONY: release-stats
1323 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1324 # Otherwise a system limit (for SysV at least) may be exceeded.