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_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
40 APIVERSION = @APIVERSION@
42 AUTOHEADER = @AUTOHEADER@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
57 PACKAGE_NAME = @PACKAGE_NAME@
58 PACKAGE_STRING = @PACKAGE_STRING@
59 PACKAGE_TARNAME = @PACKAGE_TARNAME@
60 PACKAGE_VERSION = @PACKAGE_VERSION@
61 PATH_SEPARATOR = @PATH_SEPARATOR@
67 ac_ct_STRIP = @ac_ct_STRIP@
69 build_alias = @build_alias@
71 exec_prefix = @exec_prefix@
72 host_alias = @host_alias@
73 includedir = @includedir@
75 install_sh = @install_sh@
77 libexecdir = @libexecdir@
78 localstatedir = @localstatedir@
80 oldincludedir = @oldincludedir@
81 pkgvdatadir = @pkgvdatadir@
83 program_transform_name = @program_transform_name@
85 sharedstatedir = @sharedstatedir@
86 sysconfdir = @sysconfdir@
87 target_alias = @target_alias@
89 SUBDIRS = . m4 lib tests
91 bin_SCRIPTS = automake aclocal
92 info_TEXINFOS = automake.texi
94 TAGS_FILES = automake.in aclocal.in
96 # The following requires a fixed version of the Emacs 19.30 etags.
97 ETAGS_ARGS = --lang=none \
98 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
100 TAGS_DEPENDENCIES = automake.texi
102 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
106 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL
108 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
109 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
110 CONFIG_CLEAN_FILES = automake aclocal
111 SCRIPTS = $(bin_SCRIPTS)
114 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
115 INFO_DEPS = automake.info
118 TEXINFOS = automake.texi
120 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
121 install-info-recursive uninstall-info-recursive all-recursive \
122 install-data-recursive install-exec-recursive \
123 installdirs-recursive install-recursive uninstall-recursive \
124 check-recursive installcheck-recursive
125 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
126 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
127 configure configure.in install-sh mdate-sh missing \
128 mkinstalldirs stamp-vti version.texi
129 DIST_SUBDIRS = $(SUBDIRS)
133 .SUFFIXES: .dvi .info .pdf .ps .texi
135 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
136 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
137 cd $(top_srcdir) && \
138 $(AUTOMAKE) --gnu Makefile
139 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
140 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
142 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
143 $(SHELL) ./config.status --recheck
144 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
145 cd $(srcdir) && $(AUTOCONF)
147 $(ACLOCAL_M4): configure.in
148 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
149 automake: $(top_builddir)/config.status automake.in
150 cd $(top_builddir) && $(SHELL) ./config.status $@
151 aclocal: $(top_builddir)/config.status aclocal.in
152 cd $(top_builddir) && $(SHELL) ./config.status $@
153 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
154 install-binSCRIPTS: $(bin_SCRIPTS)
156 $(mkinstalldirs) $(DESTDIR)$(bindir)
157 @list='$(bin_SCRIPTS)'; for p in $$list; do \
158 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
159 f="`echo $$p | sed -e 's|^.*/||'`"; \
160 if test -f $$d$$p; then \
161 f="`echo $$f|sed '$(transform)'`"; \
162 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
163 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
167 uninstall-binSCRIPTS:
169 @list='$(bin_SCRIPTS)'; for p in $$list; do \
170 f="`echo $$p | sed -e 's|^.*/||'`"; \
171 f="`echo $$f|sed '$(transform)'`"; \
172 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
173 rm -f $(DESTDIR)$(bindir)/$$f; \
176 $(srcdir)/version.texi: $(srcdir)/stamp-vti
178 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
179 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
180 echo "@set UPDATED $$1 $$2 $$3"; \
181 echo "@set UPDATED-MONTH $$2 $$3"; \
182 echo "@set EDITION $(VERSION)"; \
183 echo "@set VERSION $(VERSION)") > vti.tmp
184 @cmp -s vti.tmp $(srcdir)/version.texi \
185 || (echo "Updating $(srcdir)/version.texi"; \
186 cp vti.tmp $(srcdir)/version.texi)
188 @cp $(srcdir)/version.texi $@
193 maintainer-clean-vti:
194 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
196 automake.info: automake.texi $(srcdir)/version.texi
197 automake.dvi: automake.texi $(srcdir)/version.texi
198 automake.pdf: automake.texi $(srcdir)/version.texi
201 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
203 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
204 `echo $< | sed 's,.*/,,'`
207 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
208 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
212 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
213 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
217 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
219 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
220 `echo $< | sed 's,.*/,,'`
223 TEXI2PDF = $(TEXI2DVI) --pdf
230 @if (install-info --version && \
231 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
232 list='$(INFO_DEPS)'; \
233 for file in $$list; do \
234 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
235 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
239 @list='$(INFO_DEPS)'; \
240 for file in $$list; do \
241 (if cd $(DESTDIR)$(infodir); then \
242 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
243 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
247 dist-info: $(INFO_DEPS)
248 list='$(INFO_DEPS)'; \
249 for base in $$list; do \
251 for file in $$d/$$base*; do \
252 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
253 test -f $(distdir)/$$relfile || \
254 cp -p $$file $(distdir)/$$relfile; \
259 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
260 automake.dvi automake.fn automake.ky automake.log automake.op \
261 automake.ov automake.pdf automake.pg automake.ps automake.toc \
262 automake.tp automake.tr automake.vr automake.vrs
264 maintainer-clean-aminfo:
266 list='$(INFO_DEPS)'; for i in $$list; do \
268 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
273 # This directory's subdirectories are mostly independent; you can cd
274 # into them and run `make' without going through this Makefile.
275 # To change the values of `make' variables: instead of editing Makefiles,
276 # (1) if the variable is set in `config.status', edit `config.status'
277 # (which will cause the Makefiles to be regenerated when you run `make');
278 # (2) otherwise, pass the desired values on the `make' command line.
279 $(RECURSIVE_TARGETS):
280 @set fnord $$MAKEFLAGS; amf=$$2; \
282 target=`echo $@ | sed s/-recursive//`; \
283 list='$(SUBDIRS)'; for subdir in $$list; do \
284 echo "Making $$target in $$subdir"; \
285 if test "$$subdir" = "."; then \
287 local_target="$$target-am"; \
289 local_target="$$target"; \
291 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
292 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
294 if test "$$dot_seen" = "no"; then \
295 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
298 mostlyclean-recursive clean-recursive distclean-recursive \
299 maintainer-clean-recursive:
300 @set fnord $$MAKEFLAGS; amf=$$2; \
303 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
304 *) list='$(SUBDIRS)' ;; \
306 rev=''; for subdir in $$list; do \
307 if test "$$subdir" = "."; then :; else \
308 rev="$$subdir $$rev"; \
312 target=`echo $@ | sed s/-recursive//`; \
313 for subdir in $$rev; do \
314 echo "Making $$target in $$subdir"; \
315 if test "$$subdir" = "."; then \
316 local_target="$$target-am"; \
318 local_target="$$target"; \
320 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
321 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
322 done && test -z "$$fail"
324 list='$(SUBDIRS)'; for subdir in $$list; do \
325 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
333 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
334 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
335 unique=`for i in $$list; do \
336 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
338 $(AWK) ' { files[$$0] = 1; } \
339 END { for (i in files) print i; }'`; \
342 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
343 $(TAGS_FILES) $(LISP)
346 list='$(SUBDIRS)'; for subdir in $$list; do \
347 if test "$$subdir" = .; then :; else \
348 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
351 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
352 unique=`for i in $$list; do \
353 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355 $(AWK) ' { files[$$0] = 1; } \
356 END { for (i in files) print i; }'`; \
357 test -z "$(ETAGS_ARGS)$$tags$$unique" \
358 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
362 here=`$(am__cd) $(top_builddir) && pwd` \
363 && cd $(top_srcdir) \
364 && gtags -i $(GTAGS_ARGS) $$here
367 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
368 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
371 distdir = $(PACKAGE)-$(VERSION)
373 am__remove_distdir = \
374 { test ! -d $(distdir) \
375 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
376 && rm -fr $(distdir); }; }
379 distcleancheck_listfiles = find . -type f -print
381 distdir: $(DISTFILES)
382 $(am__remove_distdir)
384 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
385 @list='$(DISTFILES)'; for file in $$list; do \
386 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
387 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
388 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
390 $(mkinstalldirs) "$(distdir)$$dir"; \
394 if test -d $$d/$$file; then \
395 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
396 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
398 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
400 test -f $(distdir)/$$file \
401 || cp -p $$d/$$file $(distdir)/$$file \
405 list='$(SUBDIRS)'; for subdir in $$list; do \
406 if test "$$subdir" = .; then :; else \
407 test -d $(distdir)/$$subdir \
408 || mkdir $(distdir)/$$subdir \
411 $(MAKE) $(AM_MAKEFLAGS) \
412 top_distdir="$(top_distdir)" \
413 distdir=../$(distdir)/$$subdir \
418 $(MAKE) $(AM_MAKEFLAGS) \
419 top_distdir="$(top_distdir)" distdir="$(distdir)" \
421 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
422 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
423 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
424 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
425 || chmod -R a+r $(distdir)
427 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
428 $(am__remove_distdir)
431 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
432 $(am__remove_distdir)
434 dist dist-all: distdir
435 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
436 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
437 $(am__remove_distdir)
439 # This target untars the dist file and tries a VPATH configuration. Then
440 # it guarantees that the distribution is self-contained by making another
443 $(am__remove_distdir)
444 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
445 chmod -R a-w $(distdir); chmod a+w $(distdir)
446 mkdir $(distdir)/=build
447 mkdir $(distdir)/=inst
449 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
450 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
451 && cd $(distdir)/=build \
452 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
453 $(DISTCHECK_CONFIGURE_FLAGS) \
454 && $(MAKE) $(AM_MAKEFLAGS) \
455 && $(MAKE) $(AM_MAKEFLAGS) dvi \
456 && $(MAKE) $(AM_MAKEFLAGS) check \
457 && $(MAKE) $(AM_MAKEFLAGS) install \
458 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
459 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
460 && (test `find "$$dc_install_base" -type f -print | wc -l` -le 1 \
461 || { echo "ERROR: files left after uninstall:" ; \
462 find $$dc_install_base -type f -print ; \
464 && chmod -R a-w "$$dc_install_base" \
465 && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
466 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
467 && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
468 || { echo "ERROR: files left after uninstall (check DESTDIR support):" ; \
469 find "$$dc_destdir" -type f -print ; \
471 } || { rm -rf "$$dc_destdir"; exit 1; }) \
472 && rm -rf "$$dc_destdir" \
473 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
474 && rm -f $(distdir).tar.gz \
475 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
476 $(am__remove_distdir)
477 @echo "$(distdir).tar.gz is ready for distribution" | \
478 sed 'h;s/./=/g;p;x;p;x'
479 distcleancheck: distclean
480 if test '$(srcdir)' = . ; then \
481 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
484 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
485 || { echo "ERROR: files left after distclean:" ; \
486 $(distcleancheck_listfiles) ; \
489 check: check-recursive
490 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
491 installdirs: installdirs-recursive
493 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
495 install: install-recursive
496 install-exec: install-exec-recursive
497 install-data: install-data-recursive
498 uninstall: uninstall-recursive
501 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
503 installcheck: installcheck-recursive
505 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
506 INSTALL_STRIP_FLAG=-s \
507 `test -z '$(STRIP)' || \
508 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
514 -rm -f Makefile $(CONFIG_CLEAN_FILES)
516 maintainer-clean-generic:
517 @echo "This command is intended for maintainers to use"
518 @echo "it deletes files that may require special tools to rebuild."
519 clean: clean-recursive
521 clean-am: clean-generic mostlyclean-am
523 distclean: distclean-recursive
524 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
525 distclean-am: clean-am distclean-generic distclean-tags
533 info-am: $(INFO_DEPS)
535 install-data-am: install-info-am
537 install-exec-am: install-binSCRIPTS
539 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
541 install-info: install-info-recursive
543 install-info-am: $(INFO_DEPS)
545 $(mkinstalldirs) $(DESTDIR)$(infodir)
546 @list='$(INFO_DEPS)'; \
547 for file in $$list; do \
549 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
550 if test -f $$ifile; then \
551 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
552 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
553 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
558 @if (install-info --version && \
559 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
560 list='$(INFO_DEPS)'; \
561 for file in $$list; do \
562 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
563 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
570 maintainer-clean: maintainer-clean-recursive
571 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
572 -rm -rf autom4te.cache
573 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
574 maintainer-clean-generic maintainer-clean-vti
576 mostlyclean: mostlyclean-recursive
578 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
584 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
586 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
588 uninstall-info: uninstall-info-recursive
590 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
591 clean-generic clean-recursive dist dist-all dist-bzip2 \
592 dist-gzip dist-info distcheck distclean distclean-generic \
593 distclean-recursive distclean-tags distcleancheck distdir dvi \
594 dvi-am dvi-recursive info info-am info-recursive install \
595 install-am install-binSCRIPTS install-data install-data-am \
596 install-data-recursive install-exec install-exec-am \
597 install-exec-recursive install-info install-info-am \
598 install-info-recursive install-man install-recursive \
599 install-strip installcheck installcheck-am installdirs \
600 installdirs-am installdirs-recursive maintainer-clean \
601 maintainer-clean-aminfo maintainer-clean-generic \
602 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
603 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
604 mostlyclean-vti pdf pdf-am pdf-recursive tags tags-recursive \
605 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
606 uninstall-info-recursive uninstall-recursive
611 @for p in $(bin_SCRIPTS); do \
612 f="`echo $$p|sed '$(transform)'`"; \
613 fv="$$f-$(APIVERSION)"; \
614 rm -f $(DESTDIR)$(bindir)/$$fv; \
615 echo " ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
616 ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
620 @for p in $(bin_SCRIPTS); do \
621 f="`echo $$p|sed '$(transform)'`"; \
622 fv="$$f-$(APIVERSION)"; \
623 rm -f $(DESTDIR)$(bindir)/$$fv; \
626 ################################################################
628 # Some simple checks, and then ordinary check. These are only really
629 # guaranteed to work on my machine.
630 maintainer-check: automake aclocal
631 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
632 echo "found too many diffs between automake.in and automake"; 1>&2; \
633 diff -c $(srcdir)/automake.in automake; \
636 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
637 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
638 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
639 grep -F -v '$$$$'; then \
640 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
643 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
644 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
646 echo "Suspicious 'rm' invocation." 1>&2; \
649 @if egrep 'for .* in \$$\(' $(srcdir)/lib/am/[a-z]*.am; then \
650 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
653 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
654 grep -F -v '$$(mkinstalldirs)'; then \
655 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
658 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
659 grep -F -v 'undef $$/'; then \
660 echo "Found undef in automake.in; use delete instead" 1>&2; \
663 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
664 echo "Found bad split in the lines above." 1>&2; \
667 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
668 $(srcdir)/lib/am/*.am; then \
669 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
672 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
673 echo "Using @_ in a scalar context in the lines above." 1>&2; \
676 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
677 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
680 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
681 grep -c '^[ \t]*local [^*]'`; \
684 echo "Wow, congrats! There are no \`local' now!." >&2; \
685 echo "Please update Makefile.am (maintainer-check)." >&2; \
690 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
691 echo "Up to now 1 was enough." >&2; \
695 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
696 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
699 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
700 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
703 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
704 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
707 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
708 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
711 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
712 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
715 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
716 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
719 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
720 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
721 echo ' in the above lines, it is more portable.' 1>&2; \
724 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
725 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
726 echo 'it is more portable.' 1>&2; \
729 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
730 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
731 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
734 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
735 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
736 echo 'the above lines.' 1>&2; \
739 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
740 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
743 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
744 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
747 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
748 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
752 # Tag before making distribution. Also, don't make a distribution if
753 # checks fail. Also, make sure the NEWS file is up-to-date.
754 cvs-dist: maintainer-check distcheck
755 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
756 echo "NEWS not updated; not releasing" 1>&2; \
759 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
763 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
764 if test -z "$$OLDVERSION"; then \
765 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
766 else prevno="$$OLDVERSION"; fi; \
767 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
768 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
769 > $(PACKAGE)-$$prevno-$(VERSION).diff
773 find . -print | xargs pathchk -p); \
775 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
779 rm -rf Fetchdir > /dev/null 2>&1
780 mkdir Fetchdir; mkdir Fetchdir/Automake
782 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
783 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
784 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
785 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
786 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
787 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
788 @stat=0; for file in $(FETCHFILES); do \
789 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
790 >>Fetchdir/update.patch 2>/dev/null; then :; \
793 echo "Updating $(srcdir)/lib/$$file..."; \
794 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
798 echo "See Fetchdir/update.patch for a log of the changes."; \
800 # Tell versions [3.59,3.63) of GNU make to not export all variables.
801 # Otherwise a system limit (for SysV at least) may be exceeded.