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__uninstall_files_from_dir
= { \
96 ||
{ test ! -d
"$$dir" && test ! -f
"$$dir" && test ! -r
"$$dir"; } \
97 ||
{ echo
" ( cd '$$dir' && rm -f" $$files ")"; \
98 $(am__cd
) "$$dir" && rm -f
$$files; }; \
100 am__installdirs
= "$(DESTDIR)$(bindir)"
101 SCRIPTS
= $(bin_SCRIPTS
)
104 RECURSIVE_TARGETS
= all-recursive check-recursive dvi-recursive \
105 html-recursive info-recursive install-data-recursive \
106 install-dvi-recursive install-exec-recursive \
107 install-html-recursive install-info-recursive \
108 install-pdf-recursive install-ps-recursive install-recursive \
109 installcheck-recursive installdirs-recursive pdf-recursive \
110 ps-recursive uninstall-recursive
111 RECURSIVE_CLEAN_TARGETS
= mostlyclean-recursive clean-recursive \
112 distclean-recursive maintainer-clean-recursive
113 AM_RECURSIVE_TARGETS
= $(RECURSIVE_TARGETS
:-recursive
=) \
114 $(RECURSIVE_CLEAN_TARGETS
:-recursive
=) tags TAGS ctags CTAGS \
115 distdir
dist dist-all distcheck
118 DIST_SUBDIRS
= $(SUBDIRS
)
119 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
120 distdir
= $(PACKAGE
)-$(VERSION
)
121 top_distdir
= $(distdir
)
122 am__remove_distdir
= \
123 { test ! -d
"$(distdir)" \
124 ||
{ find
"$(distdir)" -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
125 && rm -fr
"$(distdir)"; }; }
128 sed_first
='s,^\([^/]*\)/.*$$,\1,'; \
129 sed_rest
='s,^[^/]*/*,,'; \
130 sed_last
='s,^.*/\([^/]*\)$$,\1,'; \
131 sed_butlast
='s,/*[^/]*$$,,'; \
132 while
test -n
"$$dir1"; do \
133 first
=`echo "$$dir1" | sed -e "$$sed_first"`; \
134 if
test "$$first" != "."; then \
135 if
test "$$first" = ".."; then \
136 dir2
=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
137 dir0
=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
139 first2
=`echo "$$dir2" | sed -e "$$sed_first"`; \
140 if
test "$$first2" = "$$first"; then \
141 dir2
=`echo "$$dir2" | sed -e "$$sed_rest"`; \
145 dir0
="$$dir0"/"$$first"; \
148 dir1
=`echo "$$dir1" | sed -e "$$sed_rest"`; \
151 DIST_ARCHIVES
= $(distdir
).
tar.gz
$(distdir
).
tar.bz2
153 distuninstallcheck_listfiles
= find .
-type f
-print
154 am__distuninstallcheck_listfiles
= $(distuninstallcheck_listfiles
) \
155 | sed
's|^\./|$(prefix)/|' | grep
-v
'$(infodir)/dir$$'
156 distcleancheck_listfiles
= find .
-type f
-print
159 APIVERSION
= @APIVERSION@
160 AUTOCONF
= @AUTOCONF@
161 AUTOHEADER
= @AUTOHEADER@
162 AUTOMAKE
= @AUTOMAKE@
164 CYGPATH_W
= @CYGPATH_W@
172 HELP2MAN
= @HELP2MAN@
174 INSTALL_DATA
= @INSTALL_DATA@
175 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
176 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
177 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
181 LTLIBOBJS
= @LTLIBOBJS@
182 MAKEINFO
= @MAKEINFO@
184 MODIFICATION_DELAY
= @MODIFICATION_DELAY@
186 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
187 PACKAGE_NAME
= @PACKAGE_NAME@
188 PACKAGE_STRING
= @PACKAGE_STRING@
189 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
190 PACKAGE_URL
= @PACKAGE_URL@
191 PACKAGE_VERSION
= @PACKAGE_VERSION@
192 PATH_SEPARATOR
= @PATH_SEPARATOR@
194 PERL_THREADS
= @PERL_THREADS@
195 SET_MAKE
= @SET_MAKE@
200 abs_builddir
= @abs_builddir@
201 abs_srcdir
= @abs_srcdir@
202 abs_top_builddir
= @abs_top_builddir@
203 abs_top_srcdir
= @abs_top_srcdir@
204 am_AUTOCONF
= @am_AUTOCONF@
205 am_AUTOHEADER
= @am_AUTOHEADER@
206 am_AUTOM4TE
= @am_AUTOM4TE@
207 am_AUTORECONF
= @am_AUTORECONF@
208 am_AUTOUPDATE
= @am_AUTOUPDATE@
209 am__leading_dot
= @am__leading_dot@
211 am__untar
= @am__untar@
214 build_alias
= @build_alias@
215 build_cpu
= @build_cpu@
216 build_os
= @build_os@
217 build_vendor
= @build_vendor@
218 builddir
= @builddir@
220 datarootdir
= @datarootdir@
223 exec_prefix = @
exec_prefix@
224 host_alias
= @host_alias@
226 includedir = @
includedir@
228 install_sh
= @install_sh@
230 libexecdir
= @libexecdir@
231 localedir
= @localedir@
232 localstatedir
= @localstatedir@
235 oldincludedir = @
oldincludedir@
237 pkgvdatadir
= @pkgvdatadir@
239 program_transform_name
= @program_transform_name@
242 sh_errexit_works
= @sh_errexit_works@
243 sharedstatedir
= @sharedstatedir@
245 sysconfdir
= @sysconfdir@
246 target_alias
= @target_alias@
247 top_build_prefix
= @top_build_prefix@
248 top_builddir
= @top_builddir@
249 top_srcdir
= @top_srcdir@
250 SUBDIRS
= lib . doc m4 tests
251 bin_SCRIPTS
= automake aclocal
252 CLEANFILES
= $(bin_SCRIPTS
)
253 AUTOMAKESOURCES
= automake.in aclocal.in
254 TAGS_FILES
= $(AUTOMAKESOURCES
)
268 -e
's,[@]APIVERSION[@],$(APIVERSION),g' \
269 -e
's,[@]PACKAGE[@],$(PACKAGE),g' \
270 -e
's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
271 -e
's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \
272 -e
's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
273 -e
's,[@]PERL[@],$(PERL),g' \
274 -e
's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
275 -e
's,[@]SHELL[@],$(SHELL),g' \
276 -e
's,[@]am_AUTOCONF[@],$(am_AUTOCONF),g' \
277 -e
's,[@]am_AUTOM4TE[@],$(am_AUTOM4TE),g' \
278 -e
's,[@]VERSION[@],$(VERSION),g' \
279 -e
's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
280 -e
's,[@]datadir[@],$(datadir),g'
283 # Some simple checks, and then ordinary check. These are only really
284 # guaranteed to work on my machine.
285 syntax_check_rules
= \
287 sc_diff_automake_in_automake \
288 sc_diff_aclocal_in_automake \
290 sc_no_brace_variable_expansions \
292 sc_no_for_variable_in_macro \
294 sc_pre_normal_post_install_uninstall \
296 sc_perl_no_split_regex_space \
297 sc_cd_in_backquotes \
299 sc_perl_at_uscore_in_scalar_context \
300 sc_perl_local_no_parens \
302 sc_AMDEP_TRUE_in_automake_in \
303 sc_tests_make_without_am_makeflags \
304 sc_tests_plain_make \
305 sc_tests_plain_autoconf \
306 sc_tests_plain_autoupdate \
307 sc_tests_plain_automake \
308 sc_tests_plain_autom4te \
309 sc_tests_plain_autoheader \
310 sc_tests_plain_autoreconf \
311 sc_tests_here_document_format \
312 sc_tests_Exit_not_exit \
313 sc_tests_automake_fails \
314 sc_tests_plain_aclocal \
315 sc_tests_plain_perl \
316 sc_tests_required_after_defs \
317 sc_tests_overriding_macros_on_cmdline \
318 sc_tests_plain_sleep \
319 sc_tests_plain_egrep_fgrep \
320 sc_tests_PATH_SEPARATOR \
323 sc_unquoted_DESTDIR \
377 WGET_SV_CVS
= $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/
378 WGET_SV_GIT_CF
= $(WGET
) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
379 WGET_SV_GIT_AC
= $(WGET
) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
380 WGET_SV_GIT_GL
= $(WGET
) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
381 WGET_GCC
= $(WGET
) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
393 am--refresh
: Makefile
395 $(srcdir)/Makefile.in
: $(srcdir)/Makefile.am
$(am__configure_deps
)
397 case
'$(am__configure_deps)' in \
399 echo
' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
400 $(am__cd
) $(srcdir) && $(AUTOMAKE
) --gnu \
405 echo
' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
406 $(am__cd
) $(top_srcdir
) && \
407 $(AUTOMAKE
) --gnu Makefile
409 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
412 echo
' $(SHELL) ./config.status'; \
413 $(SHELL
) .
/config.status
;; \
415 echo
' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
416 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
);; \
419 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
420 $(SHELL
) .
/config.status
--recheck
422 $(top_srcdir
)/configure
: $(am__configure_deps
)
423 $(am__cd
) $(srcdir) && $(AUTOCONF
)
424 $(ACLOCAL_M4
): $(am__aclocal_m4_deps
)
425 $(am__cd
) $(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
426 $(am__aclocal_m4_deps
):
427 install-binSCRIPTS
: $(bin_SCRIPTS
)
429 test -z
"$(bindir)" ||
$(MKDIR_P
) "$(DESTDIR)$(bindir)"
430 @list
='$(bin_SCRIPTS)'; test -n
"$(bindir)" || list
=; \
431 for p in
$$list; do \
432 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
433 if
test -f
"$$d$$p"; then echo
"$$d$$p"; echo
"$$p"; else :; fi
; \
435 sed
-e
'p;s,.*/,,;n' \
437 -e
'p;x;s,.*/,,;$(transform)' | sed
'N;N;N;s,\n, ,g' | \
438 $(AWK
) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
439 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
440 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
441 if (++n[d] == $(am__install_max)) { \
442 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
443 else { print "f", d "/" $$4, $$1 } } \
444 END { for (d in files) print "f", d, files[d] }' | \
445 while read type
dir files
; do \
446 if
test "$$dir" = .
; then
dir=; else dir=/$$dir; fi
; \
447 test -z
"$$files" ||
{ \
448 echo
" $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
449 $(INSTALL_SCRIPT
) $$files "$(DESTDIR)$(bindir)$$dir" || exit
$$?
; \
453 uninstall-binSCRIPTS
:
455 @list
='$(bin_SCRIPTS)'; test -n
"$(bindir)" || exit
0; \
456 files
=`for p in $$list; do echo "$$p"; done | \
457 sed -e 's,.*/,,;$(transform)'`; \
458 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir
)
460 # This directory's subdirectories are mostly independent; you can cd
461 # into them and run `make' without going through this Makefile.
462 # To change the values of `make' variables: instead of editing Makefiles,
463 # (1) if the variable is set in `config.status', edit `config.status'
464 # (which will cause the Makefiles to be regenerated when you run `make');
465 # (2) otherwise, pass the desired values on the `make' command line.
466 $(RECURSIVE_TARGETS
):
467 @fail
= failcom
='exit 1'; \
468 for f in x
$$MAKEFLAGS; do \
471 *k
*) failcom
='fail=yes';; \
475 target
=`echo $@ | sed s/-recursive//`; \
476 list
='$(SUBDIRS)'; for subdir in
$$list; do \
477 echo
"Making $$target in $$subdir"; \
478 if
test "$$subdir" = "."; then \
480 local_target
="$$target-am"; \
482 local_target
="$$target"; \
484 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
487 if
test "$$dot_seen" = "no"; then \
488 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
491 $(RECURSIVE_CLEAN_TARGETS
):
492 @fail
= failcom
='exit 1'; \
493 for f in x
$$MAKEFLAGS; do \
496 *k
*) failcom
='fail=yes';; \
501 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
502 *) list
='$(SUBDIRS)' ;; \
504 rev
=''; for subdir in
$$list; do \
505 if
test "$$subdir" = "."; then
:; else \
506 rev
="$$subdir $$rev"; \
510 target
=`echo $@ | sed s/-recursive//`; \
511 for subdir in
$$rev; do \
512 echo
"Making $$target in $$subdir"; \
513 if
test "$$subdir" = "."; then \
514 local_target
="$$target-am"; \
516 local_target
="$$target"; \
518 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
520 done
&& test -z
"$$fail"
522 list
='$(SUBDIRS)'; for subdir in
$$list; do \
523 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
526 list
='$(SUBDIRS)'; for subdir in
$$list; do \
527 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) ctags
); \
530 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
531 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
532 unique
=`for i in $$list; do \
533 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
535 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
536 END { if (nonempty) { for (i in files) print i; }; }'`; \
540 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
541 $(TAGS_FILES
) $(LISP
)
544 if
($(ETAGS
) --etags-include
--version
) >/dev
/null
2>&1; then \
545 include_option
=--etags-include
; \
548 include_option
=--include; \
551 list
='$(SUBDIRS)'; for subdir in
$$list; do \
552 if
test "$$subdir" = .
; then
:; else \
553 test ! -f
$$subdir/TAGS || \
554 set
"$$@" "$$include_option=$$here/$$subdir/TAGS"; \
557 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
558 unique
=`for i in $$list; do \
559 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
561 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
562 END { if (nonempty) { for (i in files) print i; }; }'`; \
564 if
test -z
"$(ETAGS_ARGS)$$*$$unique"; then
:; else \
565 test -n
"$$unique" || unique
=$$empty_fix; \
566 if
test $$# -gt 0; then \
567 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
570 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
575 CTAGS
: ctags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
576 $(TAGS_FILES
) $(LISP
)
577 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
578 unique
=`for i in $$list; do \
579 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
581 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
582 END { if (nonempty) { for (i in files) print i; }; }'`; \
583 test -z
"$(CTAGS_ARGS)$$unique" \
584 ||
$(CTAGS
) $(CTAGSFLAGS
) $(AM_CTAGSFLAGS
) $(CTAGS_ARGS
) \
588 here
=`$(am__cd) $(top_builddir) && pwd` \
589 && $(am__cd
) $(top_srcdir
) \
590 && gtags
-i
$(GTAGS_ARGS
) "$$here"
593 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
tags
595 distdir
: $(DISTFILES
)
596 $(am__remove_distdir
)
597 test -d
"$(distdir)" || mkdir
"$(distdir)"
598 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
599 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
600 list
='$(DISTFILES)'; \
601 dist_files
=`for file in $$list; do echo $$file; done | \
602 sed -e "s|^$$srcdirstrip/||;t" \
603 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
604 case
$$dist_files in \
605 */*) $(MKDIR_P
) `echo "$$dist_files" | \
606 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
609 for file in
$$dist_files; do \
610 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
611 if
test -d
$$d/$$file; then \
612 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
613 if
test -d
"$(distdir)/$$file"; then \
614 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
616 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
617 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
618 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
620 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
622 test -f
"$(distdir)/$$file" \
623 || cp
-p
$$d/$$file "$(distdir)/$$file" \
627 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
628 if
test "$$subdir" = .
; then
:; else \
629 test -d
"$(distdir)/$$subdir" \
630 ||
$(MKDIR_P
) "$(distdir)/$$subdir" \
634 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
635 if
test "$$subdir" = .
; then
:; else \
636 dir1
=$$subdir; dir2
="$(distdir)/$$subdir"; \
638 new_distdir
=$$reldir; \
639 dir1
=$$subdir; dir2
="$(top_distdir)"; \
641 new_top_distdir
=$$reldir; \
642 echo
" (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
643 echo
" am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
644 ($(am__cd
) $$subdir && \
645 $(MAKE
) $(AM_MAKEFLAGS
) \
646 top_distdir
="$$new_top_distdir" \
647 distdir
="$$new_distdir" \
648 am__remove_distdir
=: \
649 am__skip_length_check
=: \
650 am__skip_mode_fix
=: \
655 $(MAKE
) $(AM_MAKEFLAGS
) \
656 top_distdir
="$(top_distdir)" distdir
="$(distdir)" \
658 -test -n
"$(am__skip_mode_fix)" \
659 || find
"$(distdir)" -type d
! -perm
-755 \
660 -exec chmod u
+rwx
,go
+rx
{} \
; -o \
661 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
662 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
663 ! -type d
! -perm
-444 -exec
$(install_sh
) -c
-m a
+r
{} {} \
; \
664 || chmod
-R a
+r
"$(distdir)"
665 @if
test -z
"$(am__skip_length_check)" && find
"$(distdir)" -type f
-print | \
666 grep
'^...................................................................................................' 1>&2; then \
667 echo
'error: the above filenames are too long' 1>&2; \
671 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
672 $(am__remove_distdir
)
674 tardir
=$(distdir
) && $(am__tar
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
675 $(am__remove_distdir
)
678 tardir
=$(distdir
) && $(am__tar
) | lzma
-9 -c
>$(distdir
).
tar.lzma
679 $(am__remove_distdir
)
682 tardir
=$(distdir
) && $(am__tar
) | xz
-9 -c
>$(distdir
).
tar.xz
683 $(am__remove_distdir
)
686 tardir
=$(distdir
) && $(am__tar
) | compress
-c
>$(distdir
).
tar.Z
687 $(am__remove_distdir
)
690 shar $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
shar.gz
691 $(am__remove_distdir
)
694 -rm -f
$(distdir
).zip
695 zip
-rq
$(distdir
).zip
$(distdir
)
696 $(am__remove_distdir
)
698 dist dist-all
: distdir
699 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
700 tardir
=$(distdir
) && $(am__tar
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
701 $(am__remove_distdir
)
703 # This target untars the dist file and tries a VPATH configuration. Then
704 # it guarantees that the distribution is self-contained by making another
707 case
'$(DIST_ARCHIVES)' in \
709 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
tar.gz |
$(am__untar
) ;;\
711 bzip2
-dc
$(distdir
).
tar.bz2 |
$(am__untar
) ;;\
713 lzma
-dc
$(distdir
).
tar.lzma |
$(am__untar
) ;;\
715 xz
-dc
$(distdir
).
tar.xz |
$(am__untar
) ;;\
717 uncompress
-c
$(distdir
).
tar.Z |
$(am__untar
) ;;\
719 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
shar.gz | unshar
;;\
721 unzip
$(distdir
).zip
;;\
723 chmod
-R a-w
$(distdir
); chmod a
+w
$(distdir
)
724 mkdir
$(distdir
)/_build
725 mkdir
$(distdir
)/_inst
727 test -d
$(distdir
)/_build || exit
0; \
728 dc_install_base
=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
729 && dc_destdir
="$${TMPDIR-/tmp}/am-dc-$$$$/" \
731 && $(am__cd
) $(distdir
)/_build \
732 && ..
/configure
--srcdir=..
--prefix="$$dc_install_base" \
733 $(AM_DISTCHECK_CONFIGURE_FLAGS
) \
734 $(DISTCHECK_CONFIGURE_FLAGS
) \
735 && $(MAKE
) $(AM_MAKEFLAGS
) \
736 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
737 && $(MAKE
) $(AM_MAKEFLAGS
) check \
738 && $(MAKE
) $(AM_MAKEFLAGS
) install \
739 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
740 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
741 && $(MAKE
) $(AM_MAKEFLAGS
) distuninstallcheck_dir
="$$dc_install_base" \
743 && chmod
-R a-w
"$$dc_install_base" \
745 (cd ..
/..
&& umask
077 && mkdir
"$$dc_destdir") \
746 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" install \
747 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" uninstall \
748 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" \
749 distuninstallcheck_dir
="$$dc_destdir" distuninstallcheck
; \
750 } ||
{ rm -rf
"$$dc_destdir"; exit
1; }) \
751 && rm -rf
"$$dc_destdir" \
752 && $(MAKE
) $(AM_MAKEFLAGS
) dist \
753 && rm -rf
$(DIST_ARCHIVES
) \
754 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck \
757 $(am__remove_distdir
)
758 @
(echo
"$(distdir) archives ready for distribution: "; \
759 list
='$(DIST_ARCHIVES)'; for i in
$$list; do echo
$$i; done
) | \
760 sed
-e
1h
-e
1s
/.
/=/g
-e
1p
-e
1x
-e
'$$p' -e
'$$x'
762 @
test -n
'$(distuninstallcheck_dir)' ||
{ \
763 echo
'ERROR: trying to run $@ with an empty' \
764 '$$(distuninstallcheck_dir)' >&2; \
767 $(am__cd
) '$(distuninstallcheck_dir)' ||
{ \
768 echo
'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
771 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq
0 \
772 ||
{ echo
"ERROR: files left after uninstall:" ; \
773 if
test -n
"$(DESTDIR)"; then \
774 echo
" (check DESTDIR support)"; \
776 $(distuninstallcheck_listfiles
) ; \
778 distcleancheck
: distclean
779 @if
test '$(srcdir)' = .
; then \
780 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
783 @
test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
784 ||
{ echo
"ERROR: files left in build directory after distclean:" ; \
785 $(distcleancheck_listfiles
) ; \
788 check: check-recursive
789 all-am
: Makefile
$(SCRIPTS
)
790 installdirs: installdirs-recursive
792 for
dir in
"$(DESTDIR)$(bindir)"; do \
793 test -z
"$$dir" ||
$(MKDIR_P
) "$$dir"; \
795 install: install-recursive
796 install-exec
: install-exec-recursive
797 install-data
: install-data-recursive
798 uninstall: uninstall-recursive
801 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
803 installcheck: installcheck-recursive
805 if
test -z
'$(STRIP)'; then \
806 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
807 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
810 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
811 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
812 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
817 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
820 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
821 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
823 maintainer-clean-generic
:
824 @echo
"This command is intended for maintainers to use"
825 @echo
"it deletes files that may require special tools to rebuild."
826 clean: clean-recursive
828 clean-am
: clean-generic mostlyclean-am
830 distclean: distclean-recursive
831 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
833 distclean-am
: clean-am distclean-generic distclean-tags
849 install-dvi
: install-dvi-recursive
853 install-exec-am
: install-binSCRIPTS
855 $(MAKE
) $(AM_MAKEFLAGS
) install-exec-hook
856 install-html
: install-html-recursive
860 install-info
: install-info-recursive
866 install-pdf
: install-pdf-recursive
870 install-ps
: install-ps-recursive
876 maintainer-clean
: maintainer-clean-recursive
877 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
878 -rm -rf
$(top_srcdir
)/autom4te.cache
880 maintainer-clean-am
: distclean-am maintainer-clean-generic
882 mostlyclean: mostlyclean-recursive
884 mostlyclean-am
: mostlyclean-generic
894 uninstall-am
: uninstall-binSCRIPTS
896 $(MAKE
) $(AM_MAKEFLAGS
) uninstall-hook
897 .MAKE
: $(RECURSIVE_CLEAN_TARGETS
) $(RECURSIVE_TARGETS
) ctags-recursive \
898 install-am install-exec-am install-strip tags-recursive \
901 .PHONY
: $(RECURSIVE_CLEAN_TARGETS
) $(RECURSIVE_TARGETS
) CTAGS GTAGS \
902 all all-am am--refresh
check check-am
clean clean-generic \
903 ctags ctags-recursive
dist dist-all dist-bzip2 dist-gzip \
904 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
905 distcheck
distclean distclean-generic distclean-tags \
906 distcleancheck distdir distuninstallcheck
dvi dvi-am html \
907 html-am
info info-am
install install-am install-binSCRIPTS \
908 install-data install-data-am install-dvi install-dvi-am \
909 install-exec install-exec-am install-exec-hook install-html \
910 install-html-am install-info install-info-am install-man \
911 install-pdf install-pdf-am install-ps install-ps-am \
912 install-strip
installcheck installcheck-am
installdirs \
913 installdirs-am maintainer-clean maintainer-clean-generic \
914 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am
tags \
915 tags-recursive
uninstall uninstall-am uninstall-binSCRIPTS \
921 @for p in
$(bin_SCRIPTS
); do \
922 f
="`echo $$p|sed '$(transform)'`"; \
923 fv
="$$f-$(APIVERSION)"; \
924 rm -f
$(DESTDIR
)$(bindir)/$$fv; \
925 echo
" $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
926 $(LN
) $(DESTDIR
)$(bindir)/$$f $(DESTDIR
)$(bindir)/$$fv; \
930 @for p in
$(bin_SCRIPTS
); do \
931 f
="`echo $$p|sed '$(transform)'`"; \
932 fv
="$$f-$(APIVERSION)"; \
933 rm -f
$(DESTDIR
)$(bindir)/$$fv; \
936 automake
: automake.in
938 automake aclocal
: Makefile
940 $(do_subst
) $(srcdir)/$@.in
>$@.tmp
946 cp
$(srcdir)/lib
/INSTALL
$@
948 ################################################################
950 # Ensure tests are world-executable
952 cd
$(distdir
)/tests
&& chmod a
+rx
*.
test
954 .PHONY
: $(syntax_check_rules
)
955 $(syntax_check_rules
): automake aclocal
956 maintainer-check
: $(syntax_check_rules
)
958 @m4_builtin_rx
=`echo $(m4_builtins) | sed 's/ /|/g'`; \
959 m4_macro_rx
="\\<($$m4_builtin_rx)\\>|\\<_?(A[CUMHS]|m4)_"; \
960 if ls tests
/*.
test | LC_ALL
=C grep
-E
"$$m4_macro_rx"; then \
961 echo
"the names of the tests above can be problematic" 1>&2; \
962 echo
"Avoid test names that contain names of m4 macros" 1>&2; \
966 sc_diff_automake_in_automake
:
967 @if
test `diff $(srcdir)/automake.in automake | wc -l` -ne
32; then \
968 echo
"found too many diffs between automake.in and automake" 1>&2; \
969 diff
-c
$(srcdir)/automake.in automake
; \
972 sc_diff_aclocal_in_aclocal
:
973 @if
test `diff $(srcdir)/aclocal.in aclocal | wc -l` -ne
34; then \
974 echo
"found too many diffs between aclocal.in and aclocal" 1>&2; \
975 diff
-c
$(srcdir)/aclocal.in aclocal
; \
980 perllibdir
="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL
) -c
-w automake
981 perllibdir
="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL
) -c
-w aclocal
983 sc_no_brace_variable_expansions
:
984 @if grep
-F
'$${' $(srcdir)/lib
/am
/[a-z
]*.am | \
985 grep
-F
-v
'$$$$'; then \
986 echo
"Found too many uses of '\$${' in the lines above." 1>&2; \
991 @if grep
-v
'^#' $(srcdir)/lib
/am
/[a-z
]*.am
$(srcdir)/tests
/*.
test | \
992 grep
-E
'\<rm ([^-]|\-[^f ]*\>)'; then \
993 echo
"Suspicious 'rm' invocation." 1>&2; \
997 sc_no_for_variable_in_macro
:
998 @if grep
'for .* in \$$(' $(srcdir)/lib
/am
/[a-z
]*.am
; then \
999 echo
'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
1004 @if grep
-n
'mkinstalldirs' $(srcdir)/lib
/am
/[a-z
]*.am | \
1005 grep
-F
-v
'$$(mkinstalldirs)'; then \
1006 echo
"Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
1010 sc_pre_normal_post_install_uninstall
:
1011 @if grep
-E
-n
'\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
1012 $(srcdir)/lib
/am
/[a-z
]*.am | \
1013 grep
-v
':##' | grep
-v
': @\$$('; then \
1014 echo
"Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
1019 @if grep
-n
-w
'undef ' $(srcdir)/automake.in | \
1020 grep
-F
-v
'undef $$/'; then \
1021 echo
"Found undef in automake.in; use delete instead" 1>&2; \
1025 sc_perl_no_split_regex_space
:
1026 @if grep
-n
'split (/ /' $(srcdir)/automake.in
; then \
1027 echo
"Found bad split in the lines above." 1>&2; \
1031 sc_cd_in_backquotes
:
1032 @if grep
-n
'^[^#]*` *cd ' $(srcdir)/automake.in \
1033 $(srcdir)/lib
/am
/*.am
; then \
1034 echo
"Consider using \$$(am__cd) in the lines above." 1>&2; \
1039 @if grep
-n
'^[^#]*cd ' $(srcdir)/automake.in \
1040 $(srcdir)/lib
/am
/*.am | \
1041 grep
-v
'echo.*cd ' | \
1042 grep
-v
'am__cd =' | \
1043 grep
-v
'^[^#]*cd [./]' | \
1044 grep
-v
'^[^#]*cd \$$(top_builddir)' | \
1045 grep
-v
'^[^#]*cd "\$$\$$am__cwd' | \
1046 grep
-v
'^[^#]*cd \$$(abs' | \
1047 grep
-v
'^[^#]*cd "\$$(DESTDIR)'; then \
1048 echo
"Consider using \$$(am__cd) in the lines above." 1>&2; \
1052 sc_perl_at_uscore_in_scalar_context
:
1053 @if grep
-Hn
'[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in
; then \
1054 echo
"Using @_ in a scalar context in the lines above." 1>&2; \
1058 sc_perl_local_no_parens
:
1059 @if grep
'^[ \t]*local *(' $(srcdir)/automake.in
; then \
1060 echo
"Don't use \`local' with parens: use several \`local' above." >&2; \
1065 @if egrep
-v
'^[ \t]*local \$$[_~]( *=|;)' $(srcdir)/automake.in | \
1066 grep
'^[ \t]*local [^*]'; then \
1067 echo
"Please avoid \`local'." 1>&2; \
1071 sc_AMDEP_TRUE_in_automake_in
:
1072 @if grep
'@AMDEP''_TRUE@' $(srcdir)/automake.in
; then \
1073 echo
"Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
1077 sc_tests_make_without_am_makeflags
:
1078 @if grep
'^[^#].*(MAKE) ' $(srcdir)/lib
/am
/*.am
$(srcdir)/automake.in |\
1079 grep
-v
'AM_MAKEFLAGS'; then \
1080 echo
'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
1084 sc_tests_plain_make
:
1085 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*make'; then \
1086 echo
'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
1090 sc_tests_plain_autoconf
:
1091 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*autoconf\>'; then \
1092 echo
'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
1096 sc_tests_plain_autoupdate
:
1097 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*autoupdate\>'; then \
1098 echo
'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
1102 sc_tests_plain_automake
:
1103 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
-E
':[ ]*automake\>([^:]|$$)'; then \
1104 echo
'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
1108 sc_tests_plain_autoheader
:
1109 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*autoheader\>'; then \
1110 echo
'Do not run "automake" in the above tests. Use "$$AUTOHEADER" instead.' 1>&2; \
1114 sc_tests_plain_autoreconf
:
1115 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*autoreconf\>'; then \
1116 echo
'Do not run "automake" in the above tests. Use "$$AUTORECONF" instead.' 1>&2; \
1120 sc_tests_plain_autom4te
:
1121 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*autom4te\>'; then \
1122 echo
'Do not run "automake" in the above tests. Use "$$AUTOM4TE" instead.' 1>&2; \
1126 sc_tests_here_document_format
:
1127 @if grep
'<<' $(srcdir)/tests
/*.
test | grep
-v
'END' | grep
-v
'EOF'; then \
1128 echo
'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
1132 sc_tests_Exit_not_exit
:
1133 @found
=false
; for file in
$(srcdir)/tests
/*.
test; do \
1134 case
$$file in
*/self-check-
*.
test) continue
;; esac
; \
1135 res
=`sed -n -e '/^#/d; /^\$$PERL/d' -e '/<<.*END/,/^END/b' \
1136 -e '/<<.*EOF/,/^EOF/b' -e '/exit [$$0-9]/p' $$file`; \
1137 if
test -n
"$$res"; then \
1138 echo
"$$file:$$res"; \
1143 echo
'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
1147 sc_tests_automake_fails
:
1148 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
'\$$AUTOMAKE.*&&.*[eE]xit'; then \
1149 echo
'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
1153 sc_tests_plain_aclocal
:
1154 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*aclocal\>'; then \
1155 echo
'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
1159 sc_tests_plain_perl
:
1160 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | grep
':[ ]*perl\>'; then \
1161 echo
'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
1165 sc_tests_required_after_defs
:
1166 @for file in
$(srcdir)/tests
/*.
test; do \
1167 if out
=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n
"$$out"; then \
1168 echo
'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
1173 sc_tests_overriding_macros_on_cmdline
:
1174 @if grep
-E
'\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests
/*.
test; then \
1175 echo
'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
1176 echo
' in the above lines, it is more portable.' 1>&2; \
1179 @if sed
-e
's/ || .*//' -e
's/ && .*//' \
1180 -e
's/ DESTDIR=[^ ]*/ /' -e
's/ SHELL=[^ ]*/ /' \
1181 -e
's/ V=[^ ]*/ /' -e
's/ DISABLE_HARD_ERRORS=[^ ]*/ /' \
1182 -e
"s/ DISTCHECK_CONFIGURE_FLAGS='[^']*'/ /" \
1183 -e
's/ DISTCHECK_CONFIGURE_FLAGS="[^"]*"/ /' \
1184 -e
's/ DISTCHECK_CONFIGURE_FLAGS=[^ ]/ /' \
1185 $(srcdir)/tests
/*.
test | grep
'\$$MAKE .*='; then \
1186 echo
'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
1187 echo
'it is more portable.' 1>&2; \
1190 @if grep
'SHELL=.*\$$MAKE' $(srcdir)/tests
/*.
test; then \
1191 echo
'$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
1192 echo
'the above lines.' 1>&2; \
1196 sc_tests_plain_sleep
:
1197 @if grep
-E
'\bsleep +[12345]\b' $(srcdir)/tests
/*.
test; then \
1198 echo
'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
1202 sc_tests_plain_egrep_fgrep
:
1203 @if grep
-E
'\b[ef]grep\b' $(srcdir)/tests
/*.
test ; then \
1204 echo
'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
1207 @if grep
-E
'\b[ef]grep\b' $(srcdir)/lib
/am
/*.am
$(srcdir)/m4
/*.m4
; then \
1208 echo
'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
1212 sc_tests_PATH_SEPARATOR
:
1213 @if grep
-E
'\bPATH=.*:.*' $(srcdir)/tests
/*.
test ; then \
1214 echo
"Use \`\$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
1219 @if grep
'mkdir_p' $(srcdir)/automake.in \
1220 $(srcdir)/lib
/am
/*.am
$(srcdir)/tests
/*.
test; then \
1221 echo
'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
1226 @if
test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne
0; then \
1227 echo
"Unresolved @...@ substitution in aclocal" 1>&2; \
1230 @if
test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne
0; then \
1231 echo
"Unresolved @...@ substitution in automake" 1>&2; \
1235 sc_unquoted_DESTDIR
:
1236 @if grep
-E
"[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib
/am
/*.am
; then \
1237 echo
'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1242 @if grep
' ' $(srcdir)/doc
/automake.texi
; then \
1243 echo
'Do not use tabs in the manual.' 1>&2; \
1248 @if grep
-E
'([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc
/automake.texi
; \
1250 echo
'Unescaped @.' 1>&2; \
1254 git-dist
: maintainer-check
1255 @if sed
1q
$(srcdir)/NEWS | grep
-e
"$(VERSION)" > /dev
/null
; then
:; else \
1256 echo
"NEWS not updated; not releasing" 1>&2; \
1259 $(MAKE
) $(AM_MAKEFLAGS
) distcheck
1260 cd
$(srcdir) && git commit
-a
-s
&& \
1261 git tag
-s
"v$(VERSION)" -m
"Release $(VERSION)"
1263 git-release
: git-dist
1264 case
$(VERSION
) in \
1265 *[a-z
]) dest
=alpha
;; \
1268 $(srcdir)/lib
/gnupload
$(GNUPLOADFLAGS
) \
1269 --to
$$dest.gnu.org
:automake
$(DIST_ARCHIVES
)
1272 thisver
="v$(VERSION)"; \
1273 if
test -z
"$$OLDVERSION"; then \
1274 prevno
=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
1275 else prevno
="$$OLDVERSION"; fi
; \
1276 prevver
=v
$$prevno; \
1277 git diff
$$prevver..
$$thisver $(PACKAGE
) \
1278 > $(PACKAGE
)-$$prevno-$(VERSION
).diff
1282 find .
-print | xargs pathchk
-p
); \
1284 find
$(distdir
) -type d
'!' -perm
-200 -exec chmod u
+w
{} ';'; \
1285 rm -rf
$(distdir
); \
1289 rm -rf Fetchdir
> /dev
/null
2>&1
1292 $(WGET_SV_GIT_CF
)config.guess
-O config.guess
&& \
1293 $(WGET_SV_GIT_CF
)config.sub
-O config.sub
&& \
1294 $(WGET_SV_CVS
)texinfo
/texinfo
/doc
/texinfo.
tex -O texinfo.
tex && \
1295 $(WGET_SV_GIT_GL
)doc
/INSTALL
-O INSTALL
&& \
1296 $(WGET_GCC
)config-ml.in
-O config-ml.in
&& \
1297 $(WGET_GCC
)symlink-tree
-O symlink-tree
)
1298 @stat
=0; for file in
$(FETCHFILES
); do \
1299 if diff
-u
$(srcdir)/lib
/$$file Fetchdir
/$$file \
1300 >>Fetchdir
/update.patch
2>/dev
/null
; then
:; \
1303 echo
"Updating $(srcdir)/lib/$$file..."; \
1304 cp Fetchdir
/$$file $(srcdir)/lib
/$$file; \
1307 test $$stat = 0 || \
1308 echo
"See Fetchdir/update.patch for a log of the changes."; \
1312 @am
=`wc -l < automake` && \
1313 acl
=`wc -l < aclocal` && \
1314 pmfiles
="lib/Automake/*.pm" && \
1315 if
test .
!= '$(srcdir)'; then pmfiles
="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1317 pm
=`cat $$pmfiles | wc -l` && \
1318 dot_am_files
=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1319 amf
=`echo "$$dot_am_files" | wc -l` && \
1320 aml
=`cat $$dot_am_files | wc -l` && \
1321 m4f
=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1322 m4l
=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1323 doc_text
=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1324 echo
"$$doc_text" && \
1325 rm -f doc
/unused.ps
&& \
1326 doc
=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1327 tests
="tests/*.test"; \
1328 if
test .
!= '$(srcdir)'; then tests
="$$tests $(srcdir)/tests/*.test"; \
1330 t
=`ls -1 $$tests | wc -l` && \
1331 tgen
=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
1332 today
=`date +%Y-%m-%d` && \
1333 echo
"add this to the table in doc/automake.texi after verification:" && \
1334 printf
'@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1335 $$today $(VERSION
) $$am $$acl $$pm $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1336 .PHONY
: release-stats
1338 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1339 # Otherwise a system limit (for SysV at least) may be exceeded.