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@
57 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
58 PACKAGE_NAME = @PACKAGE_NAME@
59 PACKAGE_STRING = @PACKAGE_STRING@
60 PACKAGE_TARNAME = @PACKAGE_TARNAME@
61 PACKAGE_VERSION = @PACKAGE_VERSION@
62 PATH_SEPARATOR = @PATH_SEPARATOR@
68 ac_ct_STRIP = @ac_ct_STRIP@
70 build_alias = @build_alias@
72 exec_prefix = @exec_prefix@
73 host_alias = @host_alias@
74 includedir = @includedir@
76 install_sh = @install_sh@
78 libexecdir = @libexecdir@
79 localstatedir = @localstatedir@
81 oldincludedir = @oldincludedir@
82 pkgvdatadir = @pkgvdatadir@
84 program_transform_name = @program_transform_name@
86 sharedstatedir = @sharedstatedir@
87 sysconfdir = @sysconfdir@
88 target_alias = @target_alias@
90 SUBDIRS = . m4 lib tests
92 bin_SCRIPTS = automake aclocal
93 info_TEXINFOS = automake.texi
95 TAGS_FILES = automake.in aclocal.in
97 # The following requires a fixed version of the Emacs 19.30 etags.
98 ETAGS_ARGS = --lang=none \
99 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
101 TAGS_DEPENDENCIES = automake.texi
103 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
107 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL
109 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
110 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
111 CONFIG_CLEAN_FILES = automake aclocal
112 SCRIPTS = $(bin_SCRIPTS)
115 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
116 INFO_DEPS = automake.info
119 TEXINFOS = automake.texi
121 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
122 install-info-recursive uninstall-info-recursive all-recursive \
123 install-data-recursive install-exec-recursive \
124 installdirs-recursive install-recursive uninstall-recursive \
125 check-recursive installcheck-recursive
126 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
127 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
128 configure configure.in install-sh mdate-sh missing \
129 mkinstalldirs stamp-vti version.texi
130 DIST_SUBDIRS = $(SUBDIRS)
134 .SUFFIXES: .dvi .info .pdf .ps .texi
136 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
137 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
138 cd $(top_srcdir) && \
139 $(AUTOMAKE) --gnu Makefile
140 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
141 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
143 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
144 $(SHELL) ./config.status --recheck
145 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
146 cd $(srcdir) && $(AUTOCONF)
148 $(ACLOCAL_M4): configure.in
149 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
150 automake: $(top_builddir)/config.status automake.in
151 cd $(top_builddir) && $(SHELL) ./config.status $@
152 aclocal: $(top_builddir)/config.status aclocal.in
153 cd $(top_builddir) && $(SHELL) ./config.status $@
154 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
155 install-binSCRIPTS: $(bin_SCRIPTS)
157 $(mkinstalldirs) $(DESTDIR)$(bindir)
158 @list='$(bin_SCRIPTS)'; for p in $$list; do \
159 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
160 f="`echo $$p | sed -e 's|^.*/||'`"; \
161 if test -f $$d$$p; then \
162 f="`echo $$f|sed '$(transform)'`"; \
163 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
164 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
168 uninstall-binSCRIPTS:
170 @list='$(bin_SCRIPTS)'; for p in $$list; do \
171 f="`echo $$p | sed -e 's|^.*/||'`"; \
172 f="`echo $$f|sed '$(transform)'`"; \
173 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
174 rm -f $(DESTDIR)$(bindir)/$$f; \
177 $(srcdir)/version.texi: $(srcdir)/stamp-vti
179 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
180 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
181 echo "@set UPDATED $$1 $$2 $$3"; \
182 echo "@set UPDATED-MONTH $$2 $$3"; \
183 echo "@set EDITION $(VERSION)"; \
184 echo "@set VERSION $(VERSION)") > vti.tmp
185 @cmp -s vti.tmp $(srcdir)/version.texi \
186 || (echo "Updating $(srcdir)/version.texi"; \
187 cp vti.tmp $(srcdir)/version.texi)
189 @cp $(srcdir)/version.texi $@
194 maintainer-clean-vti:
195 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
197 automake.info: automake.texi $(srcdir)/version.texi
198 automake.dvi: automake.texi $(srcdir)/version.texi
199 automake.pdf: automake.texi $(srcdir)/version.texi
202 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
204 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
205 `echo $< | sed 's,.*/,,'`
208 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
209 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
213 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
214 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
218 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
220 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
221 `echo $< | sed 's,.*/,,'`
224 TEXI2PDF = $(TEXI2DVI) --pdf
231 @if (install-info --version && \
232 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
233 list='$(INFO_DEPS)'; \
234 for file in $$list; do \
235 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
236 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
240 @list='$(INFO_DEPS)'; \
241 for file in $$list; do \
242 (if cd $(DESTDIR)$(infodir); then \
243 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
244 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
248 dist-info: $(INFO_DEPS)
249 list='$(INFO_DEPS)'; \
250 for base in $$list; do \
252 for file in $$d/$$base*; do \
253 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
254 test -f $(distdir)/$$relfile || \
255 cp -p $$file $(distdir)/$$relfile; \
260 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
261 automake.dvi automake.fn automake.ky automake.log automake.op \
262 automake.ov automake.pdf automake.pg automake.ps automake.tmp \
263 automake.toc automake.tp automake.tr automake.vr automake.vrs
265 maintainer-clean-aminfo:
267 list='$(INFO_DEPS)'; for i in $$list; do \
269 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
274 # This directory's subdirectories are mostly independent; you can cd
275 # into them and run `make' without going through this Makefile.
276 # To change the values of `make' variables: instead of editing Makefiles,
277 # (1) if the variable is set in `config.status', edit `config.status'
278 # (which will cause the Makefiles to be regenerated when you run `make');
279 # (2) otherwise, pass the desired values on the `make' command line.
280 $(RECURSIVE_TARGETS):
281 @set fnord $$MAKEFLAGS; amf=$$2; \
283 target=`echo $@ | sed s/-recursive//`; \
284 list='$(SUBDIRS)'; for subdir in $$list; do \
285 echo "Making $$target in $$subdir"; \
286 if test "$$subdir" = "."; then \
288 local_target="$$target-am"; \
290 local_target="$$target"; \
292 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
293 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
295 if test "$$dot_seen" = "no"; then \
296 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
299 mostlyclean-recursive clean-recursive distclean-recursive \
300 maintainer-clean-recursive:
301 @set fnord $$MAKEFLAGS; amf=$$2; \
304 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
305 *) list='$(SUBDIRS)' ;; \
307 rev=''; for subdir in $$list; do \
308 if test "$$subdir" = "."; then :; else \
309 rev="$$subdir $$rev"; \
313 target=`echo $@ | sed s/-recursive//`; \
314 for subdir in $$rev; do \
315 echo "Making $$target in $$subdir"; \
316 if test "$$subdir" = "."; then \
317 local_target="$$target-am"; \
319 local_target="$$target"; \
321 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
322 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
323 done && test -z "$$fail"
325 list='$(SUBDIRS)'; for subdir in $$list; do \
326 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
334 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
335 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336 unique=`for i in $$list; do \
337 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
339 $(AWK) ' { files[$$0] = 1; } \
340 END { for (i in files) print i; }'`; \
343 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
344 $(TAGS_FILES) $(LISP)
347 list='$(SUBDIRS)'; for subdir in $$list; do \
348 if test "$$subdir" = .; then :; else \
349 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
352 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
353 unique=`for i in $$list; do \
354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
356 $(AWK) ' { files[$$0] = 1; } \
357 END { for (i in files) print i; }'`; \
358 test -z "$(ETAGS_ARGS)$$tags$$unique" \
359 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
363 here=`$(am__cd) $(top_builddir) && pwd` \
364 && cd $(top_srcdir) \
365 && gtags -i $(GTAGS_ARGS) $$here
368 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
369 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
372 distdir = $(PACKAGE)-$(VERSION)
374 am__remove_distdir = \
375 { test ! -d $(distdir) \
376 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
377 && rm -fr $(distdir); }; }
380 distcleancheck_listfiles = find . -type f -print
382 distdir: $(DISTFILES)
383 $(am__remove_distdir)
385 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
386 @list='$(DISTFILES)'; for file in $$list; do \
387 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
388 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
389 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
391 $(mkinstalldirs) "$(distdir)$$dir"; \
395 if test -d $$d/$$file; then \
396 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
397 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
399 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
401 test -f $(distdir)/$$file \
402 || cp -p $$d/$$file $(distdir)/$$file \
406 list='$(SUBDIRS)'; for subdir in $$list; do \
407 if test "$$subdir" = .; then :; else \
408 test -d $(distdir)/$$subdir \
409 || mkdir $(distdir)/$$subdir \
412 $(MAKE) $(AM_MAKEFLAGS) \
413 top_distdir="$(top_distdir)" \
414 distdir=../$(distdir)/$$subdir \
419 $(MAKE) $(AM_MAKEFLAGS) \
420 top_distdir="$(top_distdir)" distdir="$(distdir)" \
422 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
423 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
424 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
425 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
426 || chmod -R a+r $(distdir)
428 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
429 $(am__remove_distdir)
432 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
433 $(am__remove_distdir)
435 dist dist-all: distdir
436 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
437 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
438 $(am__remove_distdir)
440 # This target untars the dist file and tries a VPATH configuration. Then
441 # it guarantees that the distribution is self-contained by making another
444 $(am__remove_distdir)
445 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
446 chmod -R a-w $(distdir); chmod a+w $(distdir)
447 mkdir $(distdir)/=build
448 mkdir $(distdir)/=inst
450 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
451 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
452 && cd $(distdir)/=build \
453 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
454 $(DISTCHECK_CONFIGURE_FLAGS) \
455 && $(MAKE) $(AM_MAKEFLAGS) \
456 && $(MAKE) $(AM_MAKEFLAGS) dvi \
457 && $(MAKE) $(AM_MAKEFLAGS) check \
458 && $(MAKE) $(AM_MAKEFLAGS) install \
459 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
460 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
461 && (test `find "$$dc_install_base" -type f -print | wc -l` -le 1 \
462 || { echo "ERROR: files left after uninstall:" ; \
463 find $$dc_install_base -type f -print ; \
465 && chmod -R a-w "$$dc_install_base" \
466 && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
467 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
468 && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
469 || { echo "ERROR: files left after uninstall (check DESTDIR support):" ; \
470 find "$$dc_destdir" -type f -print ; \
472 } || { rm -rf "$$dc_destdir"; exit 1; }) \
473 && rm -rf "$$dc_destdir" \
474 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
475 && rm -f $(distdir).tar.gz \
476 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
477 $(am__remove_distdir)
478 @echo "$(distdir).tar.gz is ready for distribution" | \
479 sed 'h;s/./=/g;p;x;p;x'
480 distcleancheck: distclean
481 if test '$(srcdir)' = . ; then \
482 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
485 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
486 || { echo "ERROR: files left after distclean:" ; \
487 $(distcleancheck_listfiles) ; \
490 check: check-recursive
491 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
492 installdirs: installdirs-recursive
494 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
496 install: install-recursive
497 install-exec: install-exec-recursive
498 install-data: install-data-recursive
499 uninstall: uninstall-recursive
502 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
504 installcheck: installcheck-recursive
506 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
507 INSTALL_STRIP_FLAG=-s \
508 `test -z '$(STRIP)' || \
509 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
515 -rm -f Makefile $(CONFIG_CLEAN_FILES)
517 maintainer-clean-generic:
518 @echo "This command is intended for maintainers to use"
519 @echo "it deletes files that may require special tools to rebuild."
520 clean: clean-recursive
522 clean-am: clean-generic mostlyclean-am
524 distclean: distclean-recursive
525 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
526 distclean-am: clean-am distclean-generic distclean-tags
534 info-am: $(INFO_DEPS)
536 install-data-am: install-info-am
538 install-exec-am: install-binSCRIPTS
540 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
542 install-info: install-info-recursive
544 install-info-am: $(INFO_DEPS)
546 $(mkinstalldirs) $(DESTDIR)$(infodir)
547 @list='$(INFO_DEPS)'; \
548 for file in $$list; do \
550 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
551 if test -f $$ifile; then \
552 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
553 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
554 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
559 @if (install-info --version && \
560 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
561 list='$(INFO_DEPS)'; \
562 for file in $$list; do \
563 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
564 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
571 maintainer-clean: maintainer-clean-recursive
572 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
573 -rm -rf autom4te.cache
574 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
575 maintainer-clean-generic maintainer-clean-vti
577 mostlyclean: mostlyclean-recursive
579 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
585 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
587 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
589 uninstall-info: uninstall-info-recursive
591 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
592 clean-generic clean-recursive dist dist-all dist-bzip2 \
593 dist-gzip dist-info distcheck distclean distclean-generic \
594 distclean-recursive distclean-tags distcleancheck distdir dvi \
595 dvi-am dvi-recursive info info-am info-recursive install \
596 install-am install-binSCRIPTS install-data install-data-am \
597 install-data-recursive install-exec install-exec-am \
598 install-exec-recursive install-info install-info-am \
599 install-info-recursive install-man install-recursive \
600 install-strip installcheck installcheck-am installdirs \
601 installdirs-am installdirs-recursive maintainer-clean \
602 maintainer-clean-aminfo maintainer-clean-generic \
603 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
604 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
605 mostlyclean-vti pdf pdf-am pdf-recursive tags tags-recursive \
606 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
607 uninstall-info-recursive uninstall-recursive
612 @for p in $(bin_SCRIPTS); do \
613 f="`echo $$p|sed '$(transform)'`"; \
614 fv="$$f-$(APIVERSION)"; \
615 rm -f $(DESTDIR)$(bindir)/$$fv; \
616 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
617 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
621 @for p in $(bin_SCRIPTS); do \
622 f="`echo $$p|sed '$(transform)'`"; \
623 fv="$$f-$(APIVERSION)"; \
624 rm -f $(DESTDIR)$(bindir)/$$fv; \
627 ################################################################
629 # Some simple checks, and then ordinary check. These are only really
630 # guaranteed to work on my machine.
631 maintainer-check: automake aclocal
632 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
633 echo "found too many diffs between automake.in and automake"; 1>&2; \
634 diff -c $(srcdir)/automake.in automake; \
637 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
638 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
639 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
640 grep -F -v '$$$$'; then \
641 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
644 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
645 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
647 echo "Suspicious 'rm' invocation." 1>&2; \
650 @if egrep 'for .* in \$$\(' $(srcdir)/lib/am/[a-z]*.am; then \
651 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
654 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
655 grep -F -v '$$(mkinstalldirs)'; then \
656 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
659 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
660 grep -F -v 'undef $$/'; then \
661 echo "Found undef in automake.in; use delete instead" 1>&2; \
664 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
665 echo "Found bad split in the lines above." 1>&2; \
668 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
669 $(srcdir)/lib/am/*.am; then \
670 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
673 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
674 echo "Using @_ in a scalar context in the lines above." 1>&2; \
677 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
678 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
681 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
682 grep -c '^[ \t]*local [^*]'`; \
685 echo "Wow, congrats! There are no \`local' now!." >&2; \
686 echo "Please update Makefile.am (maintainer-check)." >&2; \
691 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
692 echo "Up to now 1 was enough." >&2; \
696 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
697 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
700 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
701 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
704 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
705 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
708 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
709 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
712 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
713 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
716 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
717 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
720 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
721 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
722 echo ' in the above lines, it is more portable.' 1>&2; \
725 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
726 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
727 echo 'it is more portable.' 1>&2; \
730 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
731 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
732 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
735 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
736 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
737 echo 'the above lines.' 1>&2; \
740 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
741 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
744 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
745 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
748 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
749 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
753 # Tag before making distribution. Also, don't make a distribution if
754 # checks fail. Also, make sure the NEWS file is up-to-date.
755 cvs-dist: maintainer-check distcheck
756 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
757 echo "NEWS not updated; not releasing" 1>&2; \
760 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
764 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
765 if test -z "$$OLDVERSION"; then \
766 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
767 else prevno="$$OLDVERSION"; fi; \
768 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
769 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
770 > $(PACKAGE)-$$prevno-$(VERSION).diff
774 find . -print | xargs pathchk -p); \
776 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
780 rm -rf Fetchdir > /dev/null 2>&1
781 mkdir Fetchdir; mkdir Fetchdir/Automake
783 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
784 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
785 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
786 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
787 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
788 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
789 @stat=0; for file in $(FETCHFILES); do \
790 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
791 >>Fetchdir/update.patch 2>/dev/null; then :; \
794 echo "Updating $(srcdir)/lib/$$file..."; \
795 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
799 echo "See Fetchdir/update.patch for a log of the changes."; \
801 # Tell versions [3.59,3.63) of GNU make to not export all variables.
802 # Otherwise a system limit (for SysV at least) may be exceeded.