* Makefile.am (maintainer-check): Check for `sleep 1' uses in the
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated by automake 1.6a from Makefile.am.
2 # @configure_input@
3
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.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 SHELL = @SHELL@
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39 top_builddir = .
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 INSTALL_HEADER = $(INSTALL_DATA)
54 transform = @program_transform_name@
55 NORMAL_INSTALL = :
56 PRE_INSTALL = :
57 POST_INSTALL = :
58 NORMAL_UNINSTALL = :
59 PRE_UNINSTALL = :
60 POST_UNINSTALL = :
61
62 EXEEXT = @EXEEXT@
63 OBJEXT = @OBJEXT@
64 PATH_SEPARATOR = @PATH_SEPARATOR@
65 AMTAR = @AMTAR@
66 APIVERSION = @APIVERSION@
67 AWK = @AWK@
68 DEPDIR = @DEPDIR@
69 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
70 PACKAGE = @PACKAGE@
71 PERL = @PERL@
72 STRIP = @STRIP@
73 VERSION = @VERSION@
74 am__include = @am__include@
75 am__quote = @am__quote@
76 install_sh = @install_sh@
77 pkgvdatadir = @pkgvdatadir@
78
79 SUBDIRS = . m4 lib tests
80
81 bin_SCRIPTS = automake aclocal
82 info_TEXINFOS = automake.texi
83
84 TAGS_FILES = automake.in aclocal.in
85
86 # The following requires a fixed version of the Emacs 19.30 etags.
87 ETAGS_ARGS = --lang=none \
88  --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
89
90 TAGS_DEPENDENCIES = automake.texi
91
92 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000
93
94 WGET = wget
95
96 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm
97 subdir = .
98 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
99 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
100 CONFIG_CLEAN_FILES = automake aclocal
101 SCRIPTS = $(bin_SCRIPTS)
102
103 DIST_SOURCES =
104 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
105 INFO_DEPS = automake.info
106 DVIS = automake.dvi
107 TEXINFOS = automake.texi
108
109 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
110         uninstall-info-recursive all-recursive install-data-recursive \
111         install-exec-recursive installdirs-recursive install-recursive \
112         uninstall-recursive check-recursive installcheck-recursive
113 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
114         Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
115         configure configure.in install-sh mdate-sh missing \
116         mkinstalldirs stamp-vti version.texi
117 DIST_SUBDIRS = $(SUBDIRS)
118 all: all-recursive
119
120 .SUFFIXES:
121 .SUFFIXES: .dvi .info .ps .texi
122 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
123         cd $(top_srcdir) && \
124           $(AUTOMAKE) --gnu  Makefile
125 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
126         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
127
128 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
129         $(SHELL) ./config.status --recheck
130 $(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
131         cd $(srcdir) && $(AUTOCONF)
132
133 $(ACLOCAL_M4):  configure.in 
134         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
135 automake: $(top_builddir)/config.status automake.in
136         cd $(top_builddir) && $(SHELL) ./config.status $@
137 aclocal: $(top_builddir)/config.status aclocal.in
138         cd $(top_builddir) && $(SHELL) ./config.status $@
139 install-binSCRIPTS: $(bin_SCRIPTS)
140         @$(NORMAL_INSTALL)
141         $(mkinstalldirs) $(DESTDIR)$(bindir)
142         @list='$(bin_SCRIPTS)'; for p in $$list; do \
143           f="`echo $$p|sed '$(transform)'`"; \
144           if test -f $$p; then \
145             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
146             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
147           elif test -f $(srcdir)/$$p; then \
148             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
149             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
150           else :; fi; \
151         done
152
153 uninstall-binSCRIPTS:
154         @$(NORMAL_UNINSTALL)
155         @list='$(bin_SCRIPTS)'; for p in $$list; do \
156           f="`echo $$p|sed '$(transform)'`"; \
157           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
158           rm -f $(DESTDIR)$(bindir)/$$f; \
159         done
160
161 $(srcdir)/version.texi:  $(srcdir)/stamp-vti
162         @:
163 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
164         @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
165         echo "@set UPDATED $$1 $$2 $$3"; \
166         echo "@set UPDATED-MONTH $$2 $$3"; \
167         echo "@set EDITION $(VERSION)"; \
168         echo "@set VERSION $(VERSION)") > vti.tmp
169         @cmp -s vti.tmp $(srcdir)/version.texi \
170           || (echo "Updating $(srcdir)/version.texi"; \
171               cp vti.tmp $(srcdir)/version.texi)
172         -@rm -f vti.tmp
173         @cp $(srcdir)/version.texi $@
174
175 mostlyclean-vti:
176         -rm -f vti.tmp
177
178 maintainer-clean-vti:
179         -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
180
181 automake.info: automake.texi $(srcdir)/version.texi
182 automake.dvi: automake.texi $(srcdir)/version.texi
183
184 .texi.info:
185         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
186         cd $(srcdir) \
187           && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
188                `echo $< | sed 's,.*/,,'`
189
190 .texi.dvi:
191         TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
192         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
193         $(TEXI2DVI) $<
194
195 .texi:
196         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
197         cd $(srcdir) \
198           && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
199                `echo $< | sed 's,.*/,,'`
200
201 MAKEINFO = @MAKEINFO@
202 TEXI2DVI = texi2dvi
203 DVIPS = dvips
204 .dvi.ps:
205         $(DVIPS) $< -o $@
206
207 uninstall-info-am:
208         $(PRE_UNINSTALL)
209         @if (install-info --version && \
210              install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
211           list='$(INFO_DEPS)'; \
212           for file in $$list; do \
213             echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
214             install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
215           done; \
216         else :; fi
217         @$(NORMAL_UNINSTALL)
218         @list='$(INFO_DEPS)'; \
219         for file in $$list; do \
220           (if cd $(DESTDIR)$(infodir); then \
221              echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
222              rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
223            else :; fi); \
224         done
225
226 dist-info: $(INFO_DEPS)
227         list='$(INFO_DEPS)'; \
228         for base in $$list; do \
229           d=$(srcdir); \
230           for file in $$d/$$base*; do \
231             relfile=`expr "$$file" : "$$d/\(.*\)"`; \
232             test -f $(distdir)/$$relfile || \
233               cp -p $$file $(distdir)/$$relfile; \
234           done; \
235         done
236
237 mostlyclean-aminfo:
238         -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
239           automake.dvi automake.fn automake.ky automake.log automake.op \
240           automake.ov automake.pg automake.ps automake.toc automake.tp \
241           automake.tr automake.vr automake.vrs
242
243 maintainer-clean-aminfo:
244         cd $(srcdir) && \
245         for i in $(INFO_DEPS); do \
246           rm -f $$i; \
247           if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
248             rm -f $$i-[0-9]*; \
249           fi; \
250         done
251
252 # This directory's subdirectories are mostly independent; you can cd
253 # into them and run `make' without going through this Makefile.
254 # To change the values of `make' variables: instead of editing Makefiles,
255 # (1) if the variable is set in `config.status', edit `config.status'
256 #     (which will cause the Makefiles to be regenerated when you run `make');
257 # (2) otherwise, pass the desired values on the `make' command line.
258 $(RECURSIVE_TARGETS):
259         @set fnord $$MAKEFLAGS; amf=$$2; \
260         dot_seen=no; \
261         target=`echo $@ | sed s/-recursive//`; \
262         list='$(SUBDIRS)'; for subdir in $$list; do \
263           echo "Making $$target in $$subdir"; \
264           if test "$$subdir" = "."; then \
265             dot_seen=yes; \
266             local_target="$$target-am"; \
267           else \
268             local_target="$$target"; \
269           fi; \
270           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
271            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
272         done; \
273         if test "$$dot_seen" = "no"; then \
274           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
275         fi; test -z "$$fail"
276
277 mostlyclean-recursive clean-recursive distclean-recursive \
278 maintainer-clean-recursive:
279         @set fnord $$MAKEFLAGS; amf=$$2; \
280         dot_seen=no; \
281         case "$@" in \
282           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
283           *) list='$(SUBDIRS)' ;; \
284         esac; \
285         rev=''; for subdir in $$list; do \
286           if test "$$subdir" = "."; then :; else \
287             rev="$$subdir $$rev"; \
288           fi; \
289         done; \
290         rev="$$rev ."; \
291         target=`echo $@ | sed s/-recursive//`; \
292         for subdir in $$rev; do \
293           echo "Making $$target in $$subdir"; \
294           if test "$$subdir" = "."; then \
295             local_target="$$target-am"; \
296           else \
297             local_target="$$target"; \
298           fi; \
299           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
300            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
301         done && test -z "$$fail"
302 tags-recursive:
303         list='$(SUBDIRS)'; for subdir in $$list; do \
304           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
305         done
306
307 ETAGS = etags
308 ETAGSFLAGS =
309
310 tags: TAGS
311
312 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
313         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
314         unique=`for i in $$list; do \
315             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
316           done | \
317           $(AWK) '    { files[$$0] = 1; } \
318                END { for (i in files) print i; }'`; \
319         mkid -fID $$unique
320
321 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
322                 $(TAGS_FILES) $(LISP)
323         tags=; \
324         here=`pwd`; \
325         list='$(SUBDIRS)'; for subdir in $$list; do \
326           if test "$$subdir" = .; then :; else \
327             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
328           fi; \
329         done; \
330         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
331         unique=`for i in $$list; do \
332             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
333           done | \
334           $(AWK) '    { files[$$0] = 1; } \
335                END { for (i in files) print i; }'`; \
336         test -z "$(ETAGS_ARGS)$$tags$$unique" \
337           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
338              $$tags $$unique
339
340 GTAGS:
341         here=`$(am__cd) $(top_builddir) && pwd` \
342           && cd $(top_srcdir) \
343           && gtags -i $(GTAGS_ARGS) $$here
344
345 distclean-tags:
346         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
347 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
348
349 top_distdir = .
350 distdir = $(PACKAGE)-$(VERSION)
351
352 am__remove_distdir = \
353   { test ! -d $(distdir) \
354     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
355          && rm -fr $(distdir); }; }
356
357 GZIP_ENV = --best
358 distcleancheck_listfiles = find . -type f -print
359
360 distdir: $(DISTFILES)
361         $(am__remove_distdir)
362         mkdir $(distdir)
363         $(mkinstalldirs) $(distdir)/. $(distdir)/m4
364         @for file in $(DISTFILES); do \
365           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
366           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
367           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
368             dir="/$$dir"; \
369             $(mkinstalldirs) "$(distdir)$$dir"; \
370           else \
371             dir=''; \
372           fi; \
373           if test -d $$d/$$file; then \
374             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
375               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
376             fi; \
377             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
378           else \
379             test -f $(distdir)/$$file \
380             || cp -p $$d/$$file $(distdir)/$$file \
381             || exit 1; \
382           fi; \
383         done
384         list='$(SUBDIRS)'; for subdir in $$list; do \
385           if test "$$subdir" = .; then :; else \
386             test -d $(distdir)/$$subdir \
387             || mkdir $(distdir)/$$subdir \
388             || exit 1; \
389             (cd $$subdir && \
390               $(MAKE) $(AM_MAKEFLAGS) \
391                 top_distdir="$(top_distdir)" \
392                 distdir=../$(distdir)/$$subdir \
393                 distdir) \
394               || exit 1; \
395           fi; \
396         done
397         $(MAKE) $(AM_MAKEFLAGS) \
398           top_distdir="${top_distdir}" distdir="$(distdir)" \
399           dist-info
400         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
401           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
402           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
403           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
404         || chmod -R a+r $(distdir)
405 dist-gzip: distdir
406         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
407         $(am__remove_distdir)
408
409 dist-bzip2: distdir
410         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
411         $(am__remove_distdir)
412
413 dist dist-all: distdir
414         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
415         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
416         $(am__remove_distdir)
417
418 # This target untars the dist file and tries a VPATH configuration.  Then
419 # it guarantees that the distribution is self-contained by making another
420 # tarfile.
421 distcheck: dist
422         $(am__remove_distdir)
423         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
424         chmod -R a-w $(distdir); chmod a+w $(distdir)
425         mkdir $(distdir)/=build
426         mkdir $(distdir)/=inst
427         chmod a-w $(distdir)
428         dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
429           && cd $(distdir)/=build \
430           && ../configure --srcdir=.. --prefix=$$dc_install_base \
431             $(DISTCHECK_CONFIGURE_FLAGS) \
432           && $(MAKE) $(AM_MAKEFLAGS) \
433           && $(MAKE) $(AM_MAKEFLAGS) dvi \
434           && $(MAKE) $(AM_MAKEFLAGS) check \
435           && $(MAKE) $(AM_MAKEFLAGS) install \
436           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
437           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
438           && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
439               || { echo "ERROR: files left after uninstall:" ; \
440                    find $$dc_install_base -type f -print ; \
441                    exit 1; } >&2 ) \
442           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
443           && rm -f $(distdir).tar.gz \
444           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
445         $(am__remove_distdir)
446         @echo "$(distdir).tar.gz is ready for distribution" | \
447           sed 'h;s/./=/g;p;x;p;x'
448 distcleancheck: distclean
449         if test '$(srcdir)' = . ; then \
450           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
451           exit 1 ; \
452         fi
453         test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
454           || { echo "ERROR: files left after distclean:" ; \
455                $(distcleancheck_listfiles) ; \
456                exit 1; } >&2
457 check-am: all-am
458 check: check-recursive
459 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
460 installdirs: installdirs-recursive
461 installdirs-am:
462         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
463
464 install: install-recursive
465 install-exec: install-exec-recursive
466 install-data: install-data-recursive
467 uninstall: uninstall-recursive
468
469 install-am: all-am
470         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
471
472 installcheck: installcheck-recursive
473 install-strip:
474         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
475           INSTALL_STRIP_FLAG=-s \
476           `test -z '$(STRIP)' || \
477             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
478 mostlyclean-generic:
479
480 clean-generic:
481
482 distclean-generic:
483         -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
484
485 maintainer-clean-generic:
486         @echo "This command is intended for maintainers to use"
487         @echo "it deletes files that may require special tools to rebuild."
488 clean: clean-recursive
489
490 clean-am: clean-generic mostlyclean-am
491
492 distclean: distclean-recursive
493         -rm -f config.status config.cache config.log
494 distclean-am: clean-am distclean-generic distclean-tags
495
496 dvi: dvi-recursive
497
498 dvi-am: $(DVIS)
499
500 info: info-recursive
501
502 info-am: $(INFO_DEPS)
503
504 install-data-am: install-info-am
505
506 install-exec-am: install-binSCRIPTS
507         @$(NORMAL_INSTALL)
508         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
509
510 install-info: install-info-recursive
511
512 install-info-am: $(INFO_DEPS)
513         @$(NORMAL_INSTALL)
514         $(mkinstalldirs) $(DESTDIR)$(infodir)
515         @list='$(INFO_DEPS)'; \
516         for file in $$list; do \
517           d=$(srcdir); \
518           for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
519             if test -f $$ifile; then \
520               relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
521               echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
522               $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
523             else : ; fi; \
524           done; \
525         done
526         @$(POST_INSTALL)
527         @if (install-info --version && \
528              install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
529           list='$(INFO_DEPS)'; \
530           for file in $$list; do \
531             echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
532             install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
533           done; \
534         else : ; fi
535 install-man:
536
537 installcheck-am:
538
539 maintainer-clean: maintainer-clean-recursive
540
541 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
542         maintainer-clean-generic maintainer-clean-vti
543
544 mostlyclean: mostlyclean-recursive
545
546 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
547
548 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
549         @$(NORMAL_INSTALL)
550         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
551
552 uninstall-info: uninstall-info-recursive
553
554 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
555         clean-generic clean-recursive dist dist-all dist-bzip2 \
556         dist-gzip dist-info distcheck distclean distclean-generic \
557         distclean-recursive distclean-tags distcleancheck distdir dvi \
558         dvi-am dvi-recursive info info-am info-recursive install \
559         install-am install-binSCRIPTS install-data install-data-am \
560         install-data-recursive install-exec install-exec-am \
561         install-exec-recursive install-info install-info-am \
562         install-info-recursive install-man install-recursive \
563         install-strip installcheck installcheck-am installdirs \
564         installdirs-am installdirs-recursive maintainer-clean \
565         maintainer-clean-aminfo maintainer-clean-generic \
566         maintainer-clean-recursive maintainer-clean-vti mostlyclean \
567         mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
568         mostlyclean-vti tags tags-recursive uninstall uninstall-am \
569         uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
570         uninstall-recursive
571
572
573 install-exec-hook:
574         @$(POST_INSTALL)
575         @for p in $(bin_SCRIPTS); do \
576           f="`echo $$p|sed '$(transform)'`"; \
577           fv="$$f-$(APIVERSION)"; \
578           rm -f $(DESTDIR)$(bindir)/$$fv; \
579           echo " ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
580           ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
581         done
582
583 uninstall-hook:
584         @for p in $(bin_SCRIPTS); do \
585           f="`echo $$p|sed '$(transform)'`"; \
586           fv="$$f-$(APIVERSION)"; \
587           rm -f $(DESTDIR)$(bindir)/$$fv; \
588         done
589
590 ################################################################
591
592 # Some simple checks, and then ordinary check.  These are only really
593 # guaranteed to work on my machine.
594 maintainer-check: automake aclocal
595         @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
596           echo "found too many diffs between automake.in and automake"; 1>&2; \
597           diff -c $(srcdir)/automake.in automake; \
598           exit 1; \
599         fi
600         perllibdir=$(srcdir)/lib $(PERL) -c -w automake
601         perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
602         @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
603                fgrep -v '$$$$'; then \
604           echo "Found too many uses of '\$${' in the lines above." 1>&2; \
605           exit 1;                               \
606         else :; fi
607         @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
608                   $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
609               fgrep -v '##'; then \
610           echo "Suspicious 'rm' invocation." 1>&2; \
611           exit 1;                               \
612         else :; fi
613         @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
614               fgrep -v '$$(mkinstalldirs)'; then \
615           echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
616           exit 1; \
617         else :; fi
618         @if grep -n -w 'undef ' $(srcdir)/automake.in | \
619               fgrep -v 'undef $$/'; then \
620           echo "Found undef in automake.in; use delete instead" 1>&2; \
621           exit 1; \
622         fi
623         @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
624           echo "Found bad split in the lines above." 1>&2; \
625           exit 1; \
626         fi
627         @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
628               $(srcdir)/lib/am/*.am; then \
629           echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
630           exit 1; \
631         fi
632         @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
633           echo "Using @_ in a scalar context in the lines above." 1>&2; \
634           exit 1; \
635         fi
636         @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
637           echo "Don't use \`local' with parens: use several \`local' above." >&2; \
638           exit 1; \
639         fi
640         @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
641                 grep -c '^[ \t]*local [^*]'`; \
642         case $$locals in \
643           [0] ) \
644             echo "Wow, congrats!  There are no \`local' now!." >&2; \
645             echo "Please update Makefile.am (maintainer-check)." >&2; \
646             exit 1; \
647           ;; \
648           1 ) ;; \
649           * ) \
650             echo "Too many \`local'!  Are you sure you need $$locals of them?" >&2; \
651             echo "Up to now 1 was enough." >&2; \
652             exit 1; \
653           ;; \
654         esac
655         @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
656           echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
657           exit 1; \
658         fi
659         @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[     ]*make'; then \
660           echo 'Do not run "make" in the above tests.  Use "$$MAKE" instead.' 1>&2; \
661           exit 1; \
662         fi
663         @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[     ]*autoconf'; then \
664           echo 'Do not run "autoconf" in the above tests.  Use "$$AUTOCONF" instead.' 1>&2; \
665           exit 1; \
666         fi
667         @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[     ]*automake'; then \
668           echo 'Do not run "automake" in the above tests.  Use "$$AUTOMAKE" instead.' 1>&2;  \
669           exit 1; \
670         fi
671         @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[     ]*aclocal'; then \
672           echo 'Do not run "aclocal" in the above tests.  Use "$$ACLOCAL" instead.' 1>&2;  \
673           exit 1; \
674         fi
675         @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[     ]*perl'; then \
676           echo 'Do not run "perl" in the above tests.  Use "$$PERL" instead.' 1>&2; \
677           exit 1; \
678         fi
679         @if egrep '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
680           echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
681           echo ' in the above lines, it is more portable.' 1>&2; \
682           exit 1; \
683         fi
684         @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
685           echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
686           echo 'it is more portable.' 1>&2; \
687           exit 1; \
688         fi
689         @if egrep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
690           echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
691           echo 'the above lines.' 1>&2; \
692           exit 1; \
693         fi
694         @if egrep '\bsleep +1\b' $(srcdir)/tests/*.test; then \
695           echo 'Do not use "sleep 1" in the above tests.  Use "sleep 2" instead.' 1>&2; \
696           exit 1; \
697         fi
698
699 # Tag before making distribution.  Also, don't make a distribution if
700 # checks fail.  Also, make sure the NEWS file is up-to-date.
701 cvs-dist: maintainer-check distcheck
702         @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
703           echo "NEWS not updated; not releasing" 1>&2; \
704           exit 1;                               \
705         fi
706         cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
707         $(MAKE) dist
708
709 cvs-diff:
710         thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
711         if test -z "$$OLDVERSION"; then \
712           prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
713         else prevno="$$OLDVERSION"; fi; \
714         prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
715         cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
716             > $(PACKAGE)-$$prevno-$(VERSION).diff
717
718 path-check: distdir
719         (cd $(distdir) && \
720           find . -print | xargs pathchk -p); \
721           status=$$?; \
722           chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
723           exit $$status
724
725 fetch:
726         rm -rf Fetchdir > /dev/null 2>&1
727         mkdir Fetchdir; mkdir Fetchdir/Automake
728         (cd Fetchdir && \
729         $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
730         $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
731         $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
732         $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm)
733         perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
734         @stat=0; for file in $(FETCHFILES); do \
735           if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
736                   >>Fetchdir/update.patch 2>/dev/null; then :; \
737           else \
738             stat=1; \
739             echo "Updating $(srcdir)/lib/$$file..."; \
740             cp Fetchdir/$$file $(srcdir)/lib/$$file; \
741           fi; \
742         done; \
743         test $$stat = 1 && \
744           echo "See Fetchdir/update.patch for a log of the changes."; \
745         exit $$stat
746 # Tell versions [3.59,3.63) of GNU make to not export all variables.
747 # Otherwise a system limit (for SysV at least) may be exceeded.
748 .NOEXPORT: