1 # Makefile.in generated by automake 1.6a from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # 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
18 top_srcdir = @top_srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
38 APIVERSION = @APIVERSION@
40 AUTOHEADER = @AUTOHEADER@
47 INSTALL_DATA = @INSTALL_DATA@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
54 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
55 PACKAGE_NAME = @PACKAGE_NAME@
56 PACKAGE_STRING = @PACKAGE_STRING@
57 PACKAGE_TARNAME = @PACKAGE_TARNAME@
58 PACKAGE_VERSION = @PACKAGE_VERSION@
59 PATH_SEPARATOR = @PATH_SEPARATOR@
65 ac_ct_STRIP = @ac_ct_STRIP@
67 build_alias = @build_alias@
69 exec_prefix = @exec_prefix@
70 host_alias = @host_alias@
71 includedir = @includedir@
73 install_sh = @install_sh@
75 libexecdir = @libexecdir@
76 localstatedir = @localstatedir@
78 oldincludedir = @oldincludedir@
79 pkgvdatadir = @pkgvdatadir@
81 program_transform_name = @program_transform_name@
83 sharedstatedir = @sharedstatedir@
84 sysconfdir = @sysconfdir@
85 target_alias = @target_alias@
87 SUBDIRS = . m4 lib tests
89 bin_SCRIPTS = automake aclocal
90 info_TEXINFOS = automake.texi
92 TAGS_FILES = automake.in aclocal.in
94 # The following requires a fixed version of the Emacs 19.30 etags.
95 ETAGS_ARGS = --lang=none \
96 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
98 TAGS_DEPENDENCIES = automake.texi
100 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
104 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL
106 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
107 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
108 CONFIG_CLEAN_FILES = automake aclocal
109 SCRIPTS = $(bin_SCRIPTS)
112 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
113 INFO_DEPS = automake.info
115 TEXINFOS = automake.texi
117 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
118 uninstall-info-recursive all-recursive install-data-recursive \
119 install-exec-recursive installdirs-recursive install-recursive \
120 uninstall-recursive check-recursive installcheck-recursive
121 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
122 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
123 configure configure.in install-sh mdate-sh missing \
124 mkinstalldirs stamp-vti version.texi
125 DIST_SUBDIRS = $(SUBDIRS)
129 .SUFFIXES: .dvi .info .ps .texi
130 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
131 cd $(top_srcdir) && \
132 $(AUTOMAKE) --gnu Makefile
133 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
134 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
136 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
137 $(SHELL) ./config.status --recheck
138 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
139 cd $(srcdir) && $(AUTOCONF)
141 $(ACLOCAL_M4): configure.in
142 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
143 automake: $(top_builddir)/config.status automake.in
144 cd $(top_builddir) && $(SHELL) ./config.status $@
145 aclocal: $(top_builddir)/config.status aclocal.in
146 cd $(top_builddir) && $(SHELL) ./config.status $@
147 install-binSCRIPTS: $(bin_SCRIPTS)
149 $(mkinstalldirs) $(DESTDIR)$(bindir)
150 @list='$(bin_SCRIPTS)'; for p in $$list; do \
151 f="`echo $$p|sed '$(transform)'`"; \
152 if test -f $$p; then \
153 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
154 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
155 elif test -f $(srcdir)/$$p; then \
156 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
157 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
161 uninstall-binSCRIPTS:
163 @list='$(bin_SCRIPTS)'; for p in $$list; do \
164 f="`echo $$p|sed '$(transform)'`"; \
165 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
166 rm -f $(DESTDIR)$(bindir)/$$f; \
169 $(srcdir)/version.texi: $(srcdir)/stamp-vti
171 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
172 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
173 echo "@set UPDATED $$1 $$2 $$3"; \
174 echo "@set UPDATED-MONTH $$2 $$3"; \
175 echo "@set EDITION $(VERSION)"; \
176 echo "@set VERSION $(VERSION)") > vti.tmp
177 @cmp -s vti.tmp $(srcdir)/version.texi \
178 || (echo "Updating $(srcdir)/version.texi"; \
179 cp vti.tmp $(srcdir)/version.texi)
181 @cp $(srcdir)/version.texi $@
186 maintainer-clean-vti:
187 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
189 automake.info: automake.texi $(srcdir)/version.texi
190 automake.dvi: automake.texi $(srcdir)/version.texi
193 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
195 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
196 `echo $< | sed 's,.*/,,'`
199 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
200 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
204 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
206 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
207 `echo $< | sed 's,.*/,,'`
215 @if (install-info --version && \
216 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
217 list='$(INFO_DEPS)'; \
218 for file in $$list; do \
219 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
220 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
224 @list='$(INFO_DEPS)'; \
225 for file in $$list; do \
226 (if cd $(DESTDIR)$(infodir); then \
227 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
228 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
232 dist-info: $(INFO_DEPS)
233 list='$(INFO_DEPS)'; \
234 for base in $$list; do \
236 for file in $$d/$$base*; do \
237 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
238 test -f $(distdir)/$$relfile || \
239 cp -p $$file $(distdir)/$$relfile; \
244 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
245 automake.dvi automake.fn automake.ky automake.log automake.op \
246 automake.ov automake.pg automake.ps automake.toc automake.tp \
247 automake.tr automake.vr automake.vrs
249 maintainer-clean-aminfo:
251 for i in $(INFO_DEPS); do \
253 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
258 # This directory's subdirectories are mostly independent; you can cd
259 # into them and run `make' without going through this Makefile.
260 # To change the values of `make' variables: instead of editing Makefiles,
261 # (1) if the variable is set in `config.status', edit `config.status'
262 # (which will cause the Makefiles to be regenerated when you run `make');
263 # (2) otherwise, pass the desired values on the `make' command line.
264 $(RECURSIVE_TARGETS):
265 @set fnord $$MAKEFLAGS; amf=$$2; \
267 target=`echo $@ | sed s/-recursive//`; \
268 list='$(SUBDIRS)'; for subdir in $$list; do \
269 echo "Making $$target in $$subdir"; \
270 if test "$$subdir" = "."; then \
272 local_target="$$target-am"; \
274 local_target="$$target"; \
276 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
277 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
279 if test "$$dot_seen" = "no"; then \
280 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
283 mostlyclean-recursive clean-recursive distclean-recursive \
284 maintainer-clean-recursive:
285 @set fnord $$MAKEFLAGS; amf=$$2; \
288 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
289 *) list='$(SUBDIRS)' ;; \
291 rev=''; for subdir in $$list; do \
292 if test "$$subdir" = "."; then :; else \
293 rev="$$subdir $$rev"; \
297 target=`echo $@ | sed s/-recursive//`; \
298 for subdir in $$rev; do \
299 echo "Making $$target in $$subdir"; \
300 if test "$$subdir" = "."; then \
301 local_target="$$target-am"; \
303 local_target="$$target"; \
305 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
306 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
307 done && test -z "$$fail"
309 list='$(SUBDIRS)'; for subdir in $$list; do \
310 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
318 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
319 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
320 unique=`for i in $$list; do \
321 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
323 $(AWK) ' { files[$$0] = 1; } \
324 END { for (i in files) print i; }'`; \
327 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
328 $(TAGS_FILES) $(LISP)
331 list='$(SUBDIRS)'; for subdir in $$list; do \
332 if test "$$subdir" = .; then :; else \
333 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
336 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
337 unique=`for i in $$list; do \
338 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
340 $(AWK) ' { files[$$0] = 1; } \
341 END { for (i in files) print i; }'`; \
342 test -z "$(ETAGS_ARGS)$$tags$$unique" \
343 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
347 here=`$(am__cd) $(top_builddir) && pwd` \
348 && cd $(top_srcdir) \
349 && gtags -i $(GTAGS_ARGS) $$here
352 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
353 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
356 distdir = $(PACKAGE)-$(VERSION)
358 am__remove_distdir = \
359 { test ! -d $(distdir) \
360 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
361 && rm -fr $(distdir); }; }
364 distcleancheck_listfiles = find . -type f -print
366 distdir: $(DISTFILES)
367 $(am__remove_distdir)
369 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
370 @for file in $(DISTFILES); do \
371 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
372 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
373 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
375 $(mkinstalldirs) "$(distdir)$$dir"; \
379 if test -d $$d/$$file; then \
380 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
381 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
383 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
385 test -f $(distdir)/$$file \
386 || cp -p $$d/$$file $(distdir)/$$file \
390 list='$(SUBDIRS)'; for subdir in $$list; do \
391 if test "$$subdir" = .; then :; else \
392 test -d $(distdir)/$$subdir \
393 || mkdir $(distdir)/$$subdir \
396 $(MAKE) $(AM_MAKEFLAGS) \
397 top_distdir="$(top_distdir)" \
398 distdir=../$(distdir)/$$subdir \
403 $(MAKE) $(AM_MAKEFLAGS) \
404 top_distdir="${top_distdir}" distdir="$(distdir)" \
406 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
407 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
408 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
409 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
410 || chmod -R a+r $(distdir)
412 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
413 $(am__remove_distdir)
416 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
417 $(am__remove_distdir)
419 dist dist-all: distdir
420 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
421 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
422 $(am__remove_distdir)
424 # This target untars the dist file and tries a VPATH configuration. Then
425 # it guarantees that the distribution is self-contained by making another
428 $(am__remove_distdir)
429 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
430 chmod -R a-w $(distdir); chmod a+w $(distdir)
431 mkdir $(distdir)/=build
432 mkdir $(distdir)/=inst
434 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
435 && cd $(distdir)/=build \
436 && ../configure --srcdir=.. --prefix=$$dc_install_base \
437 $(DISTCHECK_CONFIGURE_FLAGS) \
438 && $(MAKE) $(AM_MAKEFLAGS) \
439 && $(MAKE) $(AM_MAKEFLAGS) dvi \
440 && $(MAKE) $(AM_MAKEFLAGS) check \
441 && $(MAKE) $(AM_MAKEFLAGS) install \
442 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
443 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
444 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
445 || { echo "ERROR: files left after uninstall:" ; \
446 find $$dc_install_base -type f -print ; \
448 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
449 && rm -f $(distdir).tar.gz \
450 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
451 $(am__remove_distdir)
452 @echo "$(distdir).tar.gz is ready for distribution" | \
453 sed 'h;s/./=/g;p;x;p;x'
454 distcleancheck: distclean
455 if test '$(srcdir)' = . ; then \
456 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
459 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
460 || { echo "ERROR: files left after distclean:" ; \
461 $(distcleancheck_listfiles) ; \
464 check: check-recursive
465 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
466 installdirs: installdirs-recursive
468 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
470 install: install-recursive
471 install-exec: install-exec-recursive
472 install-data: install-data-recursive
473 uninstall: uninstall-recursive
476 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
478 installcheck: installcheck-recursive
480 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
481 INSTALL_STRIP_FLAG=-s \
482 `test -z '$(STRIP)' || \
483 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
489 -rm -f Makefile $(CONFIG_CLEAN_FILES)
491 maintainer-clean-generic:
492 @echo "This command is intended for maintainers to use"
493 @echo "it deletes files that may require special tools to rebuild."
494 clean: clean-recursive
496 clean-am: clean-generic mostlyclean-am
498 distclean: distclean-recursive
499 -rm -f config.status config.cache config.log
500 distclean-am: clean-am distclean-generic distclean-tags
508 info-am: $(INFO_DEPS)
510 install-data-am: install-info-am
512 install-exec-am: install-binSCRIPTS
514 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
516 install-info: install-info-recursive
518 install-info-am: $(INFO_DEPS)
520 $(mkinstalldirs) $(DESTDIR)$(infodir)
521 @list='$(INFO_DEPS)'; \
522 for file in $$list; do \
524 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
525 if test -f $$ifile; then \
526 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
527 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
528 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
533 @if (install-info --version && \
534 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
535 list='$(INFO_DEPS)'; \
536 for file in $$list; do \
537 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
538 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
545 maintainer-clean: maintainer-clean-recursive
547 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
548 maintainer-clean-generic maintainer-clean-vti
550 mostlyclean: mostlyclean-recursive
552 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
554 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
556 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
558 uninstall-info: uninstall-info-recursive
560 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
561 clean-generic clean-recursive dist dist-all dist-bzip2 \
562 dist-gzip dist-info distcheck distclean distclean-generic \
563 distclean-recursive distclean-tags distcleancheck distdir dvi \
564 dvi-am dvi-recursive info info-am info-recursive install \
565 install-am install-binSCRIPTS install-data install-data-am \
566 install-data-recursive install-exec install-exec-am \
567 install-exec-recursive install-info install-info-am \
568 install-info-recursive install-man install-recursive \
569 install-strip installcheck installcheck-am installdirs \
570 installdirs-am installdirs-recursive maintainer-clean \
571 maintainer-clean-aminfo maintainer-clean-generic \
572 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
573 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
574 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
575 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
581 @for p in $(bin_SCRIPTS); do \
582 f="`echo $$p|sed '$(transform)'`"; \
583 fv="$$f-$(APIVERSION)"; \
584 rm -f $(DESTDIR)$(bindir)/$$fv; \
585 echo " ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
586 ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
590 @for p in $(bin_SCRIPTS); do \
591 f="`echo $$p|sed '$(transform)'`"; \
592 fv="$$f-$(APIVERSION)"; \
593 rm -f $(DESTDIR)$(bindir)/$$fv; \
596 ################################################################
598 # Some simple checks, and then ordinary check. These are only really
599 # guaranteed to work on my machine.
600 maintainer-check: automake aclocal
601 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
602 echo "found too many diffs between automake.in and automake"; 1>&2; \
603 diff -c $(srcdir)/automake.in automake; \
606 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
607 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
608 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
609 fgrep -v '$$$$'; then \
610 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
613 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
614 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
615 fgrep -v '##'; then \
616 echo "Suspicious 'rm' invocation." 1>&2; \
619 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
620 fgrep -v '$$(mkinstalldirs)'; then \
621 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
624 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
625 fgrep -v 'undef $$/'; then \
626 echo "Found undef in automake.in; use delete instead" 1>&2; \
629 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
630 echo "Found bad split in the lines above." 1>&2; \
633 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
634 $(srcdir)/lib/am/*.am; then \
635 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
638 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
639 echo "Using @_ in a scalar context in the lines above." 1>&2; \
642 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
643 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
646 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
647 grep -c '^[ \t]*local [^*]'`; \
650 echo "Wow, congrats! There are no \`local' now!." >&2; \
651 echo "Please update Makefile.am (maintainer-check)." >&2; \
656 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
657 echo "Up to now 1 was enough." >&2; \
661 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
662 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
665 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*make'; then \
666 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
669 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*autoconf'; then \
670 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
673 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*automake'; then \
674 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
677 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*aclocal'; then \
678 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
681 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*perl'; then \
682 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
685 @if egrep '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
686 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
687 echo ' in the above lines, it is more portable.' 1>&2; \
690 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
691 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
692 echo 'it is more portable.' 1>&2; \
695 @if grep '$$MAKE.*-e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
696 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
697 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
700 @if egrep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
701 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
702 echo 'the above lines.' 1>&2; \
705 @if egrep '\bsleep +1\b' $(srcdir)/tests/*.test; then \
706 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
710 # Tag before making distribution. Also, don't make a distribution if
711 # checks fail. Also, make sure the NEWS file is up-to-date.
712 cvs-dist: maintainer-check distcheck
713 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
714 echo "NEWS not updated; not releasing" 1>&2; \
717 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
721 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
722 if test -z "$$OLDVERSION"; then \
723 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
724 else prevno="$$OLDVERSION"; fi; \
725 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
726 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
727 > $(PACKAGE)-$$prevno-$(VERSION).diff
731 find . -print | xargs pathchk -p); \
733 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
737 rm -rf Fetchdir > /dev/null 2>&1
738 mkdir Fetchdir; mkdir Fetchdir/Automake
740 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
741 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
742 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
743 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
744 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
745 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
746 @stat=0; for file in $(FETCHFILES); do \
747 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
748 >>Fetchdir/update.patch 2>/dev/null; then :; \
751 echo "Updating $(srcdir)/lib/$$file..."; \
752 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
756 echo "See Fetchdir/update.patch for a log of the changes."; \
758 # Tell versions [3.59,3.63) of GNU make to not export all variables.
759 # Otherwise a system limit (for SysV at least) may be exceeded.