* configure.in: Release 1.6.3.
[automake.git] / Makefile.in
blob4b2f3cde96b1b5ad0d032197b055fded36bc210c
1 # Makefile.in generated by automake 1.6.3 from Makefile.am.
2 # @configure_input@
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
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
16 SHELL = @SHELL@
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
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 = .
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
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_sh_SCRIPT = $(install_sh) -c
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 INSTALL_HEADER = $(INSTALL_DATA)
55 transform = @program_transform_name@
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
63 EXEEXT = @EXEEXT@
64 OBJEXT = @OBJEXT@
65 PATH_SEPARATOR = @PATH_SEPARATOR@
66 AMTAR = @AMTAR@
67 APIVERSION = @APIVERSION@
68 AWK = @AWK@
69 DEPDIR = @DEPDIR@
70 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
71 LN = @LN@
72 PACKAGE = @PACKAGE@
73 PERL = @PERL@
74 STRIP = @STRIP@
75 VERSION = @VERSION@
76 am__include = @am__include@
77 am__quote = @am__quote@
78 install_sh = @install_sh@
79 pkgvdatadir = @pkgvdatadir@
81 SUBDIRS = . m4 lib tests
83 bin_SCRIPTS = automake aclocal
84 info_TEXINFOS = automake.texi
86 TAGS_FILES = automake.in aclocal.in
88 # The following requires a fixed version of the Emacs 19.30 etags.
89 ETAGS_ARGS = --lang=none \
90 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
92 TAGS_DEPENDENCIES = automake.texi
94 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
96 WGET = wget
98 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL \
99 install-sh
101 subdir = .
102 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
103 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
104 CONFIG_CLEAN_FILES = automake aclocal
105 SCRIPTS = $(bin_SCRIPTS)
107 DIST_SOURCES =
108 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
109 INFO_DEPS = automake.info
110 DVIS = automake.dvi
111 TEXINFOS = automake.texi
113 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
114 uninstall-info-recursive all-recursive install-data-recursive \
115 install-exec-recursive installdirs-recursive install-recursive \
116 uninstall-recursive check-recursive installcheck-recursive
117 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
118 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
119 configure configure.in install-sh mdate-sh missing \
120 mkinstalldirs stamp-vti version.texi
121 DIST_SUBDIRS = $(SUBDIRS)
122 all: all-recursive
124 .SUFFIXES:
125 .SUFFIXES: .dvi .info .ps .texi
127 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
128 configure.lineno
129 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
130 cd $(top_srcdir) && \
131 $(AUTOMAKE) --gnu Makefile
132 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
133 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
135 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
136 $(SHELL) ./config.status --recheck
137 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
138 cd $(srcdir) && $(AUTOCONF)
140 $(ACLOCAL_M4): configure.in
141 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
142 automake: $(top_builddir)/config.status automake.in
143 cd $(top_builddir) && $(SHELL) ./config.status $@
144 aclocal: $(top_builddir)/config.status aclocal.in
145 cd $(top_builddir) && $(SHELL) ./config.status $@
146 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
147 install-binSCRIPTS: $(bin_SCRIPTS)
148 @$(NORMAL_INSTALL)
149 $(mkinstalldirs) $(DESTDIR)$(bindir)
150 @list='$(bin_SCRIPTS)'; for p in $$list; do \
151 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
152 if test -f $$d$$p; then \
153 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
154 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
155 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
156 else :; fi; \
157 done
159 uninstall-binSCRIPTS:
160 @$(NORMAL_UNINSTALL)
161 @list='$(bin_SCRIPTS)'; for p in $$list; do \
162 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
163 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
164 rm -f $(DESTDIR)$(bindir)/$$f; \
165 done
167 $(srcdir)/version.texi: $(srcdir)/stamp-vti
169 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
170 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
171 echo "@set UPDATED $$1 $$2 $$3"; \
172 echo "@set UPDATED-MONTH $$2 $$3"; \
173 echo "@set EDITION $(VERSION)"; \
174 echo "@set VERSION $(VERSION)") > vti.tmp
175 @cmp -s vti.tmp $(srcdir)/version.texi \
176 || (echo "Updating $(srcdir)/version.texi"; \
177 cp vti.tmp $(srcdir)/version.texi)
178 -@rm -f vti.tmp
179 @cp $(srcdir)/version.texi $@
181 mostlyclean-vti:
182 -rm -f vti.tmp
184 maintainer-clean-vti:
185 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
187 automake.info: automake.texi $(srcdir)/version.texi
188 automake.dvi: automake.texi $(srcdir)/version.texi
190 .texi.info:
191 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
192 cd $(srcdir) \
193 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
194 `echo $< | sed 's,.*/,,'`
196 .texi.dvi:
197 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
198 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
199 $(TEXI2DVI) $<
201 .texi:
202 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
203 cd $(srcdir) \
204 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
205 `echo $< | sed 's,.*/,,'`
207 MAKEINFO = @MAKEINFO@
208 TEXI2DVI = texi2dvi
209 DVIPS = dvips
210 .dvi.ps:
211 $(DVIPS) $< -o $@
213 uninstall-info-am:
214 $(PRE_UNINSTALL)
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; \
221 done; \
222 else :; fi
223 @$(NORMAL_UNINSTALL)
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]; \
229 else :; fi); \
230 done
232 dist-info: $(INFO_DEPS)
233 list='$(INFO_DEPS)'; \
234 for base in $$list; do \
235 d=$(srcdir); \
236 for file in $$d/$$base*; do \
237 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
238 test -f $(distdir)/$$relfile || \
239 cp -p $$file $(distdir)/$$relfile; \
240 done; \
241 done
243 mostlyclean-aminfo:
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.tmp automake.toc \
247 automake.tp automake.tr automake.vr automake.vrs
249 maintainer-clean-aminfo:
250 cd $(srcdir) && \
251 list='$(INFO_DEPS)'; for i in $$list; do \
252 rm -f $$i; \
253 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
254 rm -f $$i-[0-9]*; \
255 fi; \
256 done
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; \
266 dot_seen=no; \
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 \
271 dot_seen=yes; \
272 local_target="$$target-am"; \
273 else \
274 local_target="$$target"; \
275 fi; \
276 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
277 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
278 done; \
279 if test "$$dot_seen" = "no"; then \
280 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
281 fi; test -z "$$fail"
283 mostlyclean-recursive clean-recursive distclean-recursive \
284 maintainer-clean-recursive:
285 @set fnord $$MAKEFLAGS; amf=$$2; \
286 dot_seen=no; \
287 case "$@" in \
288 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
289 *) list='$(SUBDIRS)' ;; \
290 esac; \
291 rev=''; for subdir in $$list; do \
292 if test "$$subdir" = "."; then :; else \
293 rev="$$subdir $$rev"; \
294 fi; \
295 done; \
296 rev="$$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"; \
302 else \
303 local_target="$$target"; \
304 fi; \
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"
308 tags-recursive:
309 list='$(SUBDIRS)'; for subdir in $$list; do \
310 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
311 done
313 ETAGS = etags
314 ETAGSFLAGS =
316 tags: 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; \
322 done | \
323 $(AWK) ' { files[$$0] = 1; } \
324 END { for (i in files) print i; }'`; \
325 mkid -fID $$unique
327 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
328 $(TAGS_FILES) $(LISP)
329 tags=; \
330 here=`pwd`; \
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"; \
334 fi; \
335 done; \
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; \
339 done | \
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) \
344 $$tags $$unique
346 GTAGS:
347 here=`$(am__cd) $(top_builddir) && pwd` \
348 && cd $(top_srcdir) \
349 && gtags -i $(GTAGS_ARGS) $$here
351 distclean-tags:
352 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
353 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
355 top_distdir = .
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); }; }
363 GZIP_ENV = --best
364 distcleancheck_listfiles = find . -type f -print
366 distdir: $(DISTFILES)
367 $(am__remove_distdir)
368 mkdir $(distdir)
369 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
370 @list='$(DISTFILES)'; for file in $$list; 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 \
374 dir="/$$dir"; \
375 $(mkinstalldirs) "$(distdir)$$dir"; \
376 else \
377 dir=''; \
378 fi; \
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; \
382 fi; \
383 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
384 else \
385 test -f $(distdir)/$$file \
386 || cp -p $$d/$$file $(distdir)/$$file \
387 || exit 1; \
388 fi; \
389 done
390 list='$(SUBDIRS)'; for subdir in $$list; do \
391 if test "$$subdir" = .; then :; else \
392 test -d $(distdir)/$$subdir \
393 || mkdir $(distdir)/$$subdir \
394 || exit 1; \
395 (cd $$subdir && \
396 $(MAKE) $(AM_MAKEFLAGS) \
397 top_distdir="$(top_distdir)" \
398 distdir=../$(distdir)/$$subdir \
399 distdir) \
400 || exit 1; \
401 fi; \
402 done
403 $(MAKE) $(AM_MAKEFLAGS) \
404 top_distdir="${top_distdir}" distdir="$(distdir)" \
405 dist-info
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)
411 dist-gzip: distdir
412 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
413 $(am__remove_distdir)
415 dist-bzip2: 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
426 # tarfile.
427 distcheck: dist
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
433 chmod a-w $(distdir)
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 ; \
447 exit 1; } >&2 ) \
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" ; \
457 exit 1 ; \
459 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
460 || { echo "ERROR: files left after distclean:" ; \
461 $(distcleancheck_listfiles) ; \
462 exit 1; } >&2
463 check-am: all-am
464 check: check-recursive
465 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
466 installdirs: installdirs-recursive
467 installdirs-am:
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
475 install-am: all-am
476 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
478 installcheck: installcheck-recursive
479 install-strip:
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
484 mostlyclean-generic:
486 clean-generic:
488 distclean-generic:
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 $(am__CONFIG_DISTCLEAN_FILES)
500 distclean-am: clean-am distclean-generic distclean-tags
502 dvi: dvi-recursive
504 dvi-am: $(DVIS)
506 info: info-recursive
508 info-am: $(INFO_DEPS)
510 install-data-am: install-info-am
512 install-exec-am: install-binSCRIPTS
513 @$(NORMAL_INSTALL)
514 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
516 install-info: install-info-recursive
518 install-info-am: $(INFO_DEPS)
519 @$(NORMAL_INSTALL)
520 $(mkinstalldirs) $(DESTDIR)$(infodir)
521 @list='$(INFO_DEPS)'; \
522 for file in $$list; do \
523 d=$(srcdir); \
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; \
529 else : ; fi; \
530 done; \
531 done
532 @$(POST_INSTALL)
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 || :;\
539 done; \
540 else : ; fi
541 install-man:
543 installcheck-am:
545 maintainer-clean: maintainer-clean-recursive
546 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
547 -rm -rf autom4te.cache
548 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
549 maintainer-clean-generic maintainer-clean-vti
551 mostlyclean: mostlyclean-recursive
553 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
555 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
556 @$(NORMAL_INSTALL)
557 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
559 uninstall-info: uninstall-info-recursive
561 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
562 clean-generic clean-recursive dist dist-all dist-bzip2 \
563 dist-gzip dist-info distcheck distclean distclean-generic \
564 distclean-recursive distclean-tags distcleancheck distdir dvi \
565 dvi-am dvi-recursive info info-am info-recursive install \
566 install-am install-binSCRIPTS install-data install-data-am \
567 install-data-recursive install-exec install-exec-am \
568 install-exec-recursive install-info install-info-am \
569 install-info-recursive install-man install-recursive \
570 install-strip installcheck installcheck-am installdirs \
571 installdirs-am installdirs-recursive maintainer-clean \
572 maintainer-clean-aminfo maintainer-clean-generic \
573 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
574 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
575 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
576 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
577 uninstall-recursive
580 install-exec-hook:
581 @$(POST_INSTALL)
582 @for p in $(bin_SCRIPTS); do \
583 f="`echo $$p|sed '$(transform)'`"; \
584 fv="$$f-$(APIVERSION)"; \
585 rm -f $(DESTDIR)$(bindir)/$$fv; \
586 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
587 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
588 done
590 uninstall-hook:
591 @for p in $(bin_SCRIPTS); do \
592 f="`echo $$p|sed '$(transform)'`"; \
593 fv="$$f-$(APIVERSION)"; \
594 rm -f $(DESTDIR)$(bindir)/$$fv; \
595 done
597 ################################################################
599 # Some simple checks, and then ordinary check. These are only really
600 # guaranteed to work on my machine.
601 maintainer-check: automake aclocal
602 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
603 echo "found too many diffs between automake.in and automake"; 1>&2; \
604 diff -c $(srcdir)/automake.in automake; \
605 exit 1; \
607 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
608 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
609 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
610 fgrep -v '$$$$'; then \
611 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
612 exit 1; \
613 else :; fi
614 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
615 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
616 fgrep -v '##'; then \
617 echo "Suspicious 'rm' invocation." 1>&2; \
618 exit 1; \
619 else :; fi
620 @if egrep 'for .* in \$$\(' $(srcdir)/lib/am/[a-z]*.am; then \
621 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
622 exit 1; \
623 else :; fi
624 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
625 fgrep -v '$$(mkinstalldirs)'; then \
626 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
627 exit 1; \
628 else :; fi
629 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
630 fgrep -v 'undef $$/'; then \
631 echo "Found undef in automake.in; use delete instead" 1>&2; \
632 exit 1; \
634 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
635 echo "Found bad split in the lines above." 1>&2; \
636 exit 1; \
638 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
639 $(srcdir)/lib/am/*.am; then \
640 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
641 exit 1; \
643 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
644 echo "Using @_ in a scalar context in the lines above." 1>&2; \
645 exit 1; \
647 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
648 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
649 exit 1; \
651 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
652 grep -c '^[ \t]*local [^*]'`; \
653 case $$locals in \
654 [0] ) \
655 echo "Wow, congrats! There are no \`local' now!." >&2; \
656 echo "Please update Makefile.am (maintainer-check)." >&2; \
657 exit 1; \
658 ;; \
659 1 ) ;; \
660 * ) \
661 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
662 echo "Up to now 1 was enough." >&2; \
663 exit 1; \
664 ;; \
665 esac
666 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
667 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
668 exit 1; \
670 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*make'; then \
671 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
672 exit 1; \
674 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*autoconf'; then \
675 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
676 exit 1; \
678 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*automake'; then \
679 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
680 exit 1; \
682 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*aclocal'; then \
683 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
684 exit 1; \
686 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*perl'; then \
687 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
688 exit 1; \
690 @if egrep '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
691 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
692 echo ' in the above lines, it is more portable.' 1>&2; \
693 exit 1; \
695 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
696 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
697 echo 'it is more portable.' 1>&2; \
698 exit 1; \
700 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
701 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
702 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
703 exit 1; \
705 @if egrep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
706 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
707 echo 'the above lines.' 1>&2; \
708 exit 1; \
710 @if egrep '\bsleep +1\b' $(srcdir)/tests/*.test; then \
711 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
712 exit 1; \
715 # Tag before making distribution. Also, don't make a distribution if
716 # checks fail. Also, make sure the NEWS file is up-to-date.
717 cvs-dist: maintainer-check distcheck
718 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
719 echo "NEWS not updated; not releasing" 1>&2; \
720 exit 1; \
722 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
723 $(MAKE) dist
725 cvs-diff:
726 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
727 if test -z "$$OLDVERSION"; then \
728 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
729 else prevno="$$OLDVERSION"; fi; \
730 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
731 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
732 > $(PACKAGE)-$$prevno-$(VERSION).diff
734 path-check: distdir
735 (cd $(distdir) && \
736 find . -print | xargs pathchk -p); \
737 status=$$?; \
738 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
739 exit $$status
741 fetch:
742 rm -rf Fetchdir > /dev/null 2>&1
743 mkdir Fetchdir; mkdir Fetchdir/Automake
744 (cd Fetchdir && \
745 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
746 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
747 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
748 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
749 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/config/install-sh?content-type=text/plain -O install-sh; \
750 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
751 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
752 @stat=0; for file in $(FETCHFILES); do \
753 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
754 >>Fetchdir/update.patch 2>/dev/null; then :; \
755 else \
756 stat=1; \
757 echo "Updating $(srcdir)/lib/$$file..."; \
758 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
759 fi; \
760 done; \
761 test $$stat = 1 && \
762 echo "See Fetchdir/update.patch for a log of the changes."; \
763 exit $$stat
764 # Tell versions [3.59,3.63) of GNU make to not export all variables.
765 # Otherwise a system limit (for SysV at least) may be exceeded.
766 .NOEXPORT: