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