1 # Makefile.in generated by automake 1.5e 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
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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@
63 PATH_SEPARATOR = @PATH_SEPARATOR@
65 APIVERSION = @APIVERSION@
68 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
73 am__include = @am__include@
74 am__quote = @am__quote@
75 install_sh = @install_sh@
76 pkgvdatadir = @pkgvdatadir@
78 SUBDIRS = . m4 lib tests
80 bin_SCRIPTS = automake aclocal
81 info_TEXINFOS = automake.texi
83 TAGS_FILES = automake.in aclocal.in
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
89 TAGS_DEPENDENCIES = automake.texi
91 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000
95 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm
97 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
98 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
99 CONFIG_CLEAN_FILES = automake aclocal
100 SCRIPTS = $(bin_SCRIPTS)
103 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
104 INFO_DEPS = automake.info
106 TEXINFOS = automake.texi
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)
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)
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)
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)
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; \
152 uninstall-binSCRIPTS:
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; \
160 $(srcdir)/version.texi: $(srcdir)/stamp-vti
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)
172 @cp $(srcdir)/version.texi $@
177 maintainer-clean-vti:
178 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
180 automake.info: automake.texi $(srcdir)/version.texi
181 automake.dvi: automake.texi $(srcdir)/version.texi
184 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
186 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
187 `echo $< | sed 's,.*/,,'`
190 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
191 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
195 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
197 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
198 `echo $< | sed 's,.*/,,'`
200 MAKEINFO = @MAKEINFO@
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; \
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]; \
225 dist-info: $(INFO_DEPS)
226 list='$(INFO_DEPS)'; \
227 for base in $$list; do \
229 for file in $$d/$$base*; do \
230 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
231 test -f $(distdir)/$$relfile || \
232 cp -p $$file $(distdir)/$$relfile; \
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
242 maintainer-clean-aminfo:
244 for i in $(INFO_DEPS); do \
246 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
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; \
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 \
265 local_target="$$target-am"; \
267 local_target="$$target"; \
269 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
270 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
272 if test "$$dot_seen" = "no"; then \
273 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
276 mostlyclean-recursive clean-recursive distclean-recursive \
277 maintainer-clean-recursive:
278 @set fnord $(MAKEFLAGS); amf=$$2; \
281 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
282 *) list='$(SUBDIRS)' ;; \
284 rev=''; for subdir in $$list; do \
285 if test "$$subdir" = "."; then :; else \
286 rev="$$subdir $$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"; \
296 local_target="$$target"; \
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"
302 list='$(SUBDIRS)'; for subdir in $$list; do \
303 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
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; \
316 $(AWK) ' { files[$$0] = 1; } \
317 END { for (i in files) print i; }'`; \
320 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
321 $(TAGS_FILES) $(LISP)
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"; \
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; \
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) \
340 here=`$(am__cd) $(top_builddir) && pwd` \
341 && cd $(top_srcdir) \
342 && gtags -i $(GTAGS_ARGS) $$here
345 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
346 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
349 distdir = $(PACKAGE)-$(VERSION)
351 am__remove_distdir = \
352 { test ! -d $(distdir) \
353 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
354 && rm -fr $(distdir); }; }
357 distcleancheck_listfiles = find . -type f -print
359 distdir: $(DISTFILES)
360 $(am__remove_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 \
368 $(mkinstalldirs) "$(distdir)$$dir"; \
372 if test -d $$d/$$file; then \
373 cp -pR $$d/$$file $(distdir)$$dir \
376 test -f $(distdir)/$$file \
377 || cp -p $$d/$$file $(distdir)/$$file \
381 list='$(SUBDIRS)'; for subdir in $$list; do \
382 if test "$$subdir" = .; then :; else \
383 test -d $(distdir)/$$subdir \
384 || mkdir $(distdir)/$$subdir \
387 $(MAKE) $(AM_MAKEFLAGS) \
388 top_distdir="$(top_distdir)" \
389 distdir=../$(distdir)/$$subdir \
394 $(MAKE) $(AM_MAKEFLAGS) \
395 top_distdir="${top_distdir}" distdir="$(distdir)" \
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)
403 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
404 $(am__remove_distdir)
407 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
408 $(am__remove_distdir)
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)
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
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
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 ; \
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" ; \
450 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
451 || { echo "ERROR: files left after distclean:" ; \
452 $(distcleancheck_listfiles) ; \
455 check: check-recursive
456 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
457 installdirs: installdirs-recursive
459 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
461 install: install-recursive
462 install-exec: install-exec-recursive
463 install-data: install-data-recursive
464 uninstall: uninstall-recursive
467 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
469 installcheck: installcheck-recursive
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
480 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
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
487 clean-am: clean-generic mostlyclean-am
489 distclean: distclean-recursive
490 -rm -f config.status config.cache config.log
491 distclean-am: clean-am distclean-generic distclean-tags
499 info-am: $(INFO_DEPS)
501 install-data-am: install-info-am
503 install-exec-am: install-binSCRIPTS
505 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
507 install-info: install-info-recursive
509 install-info-am: $(INFO_DEPS)
511 $(mkinstalldirs) $(DESTDIR)$(infodir)
512 @list='$(INFO_DEPS)'; \
513 for file in $$list; do \
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; \
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 || :;\
536 maintainer-clean: maintainer-clean-recursive
538 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
539 maintainer-clean-generic maintainer-clean-vti
541 mostlyclean: mostlyclean-recursive
543 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
545 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
547 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
549 uninstall-info: uninstall-info-recursive
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 \
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; \
581 @for p in $(bin_SCRIPTS); do \
582 f="`echo $$p|sed '$(transform)'`"; \
583 fv="$$f-$(APIVERSION)"; \
584 rm -f $(DESTDIR)$(bindir)/$$fv; \
587 ################################################################
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; \
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; \
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; \
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; \
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; \
620 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
621 echo "Found bad split in the lines above." 1>&2; \
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; \
629 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
630 echo "Using @_ in a scalar context in the lines above." 1>&2; \
633 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
634 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
637 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
638 grep -c '^[ \t]*local [^*]'`; \
641 echo "Wow, congrats! There are no \`local' now!." >&2; \
642 echo "Please update Makefile.am (maintainer-check)." >&2; \
647 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
648 echo "Up to now 1 was enough." >&2; \
652 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
653 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
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; \
664 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
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
678 find . -print | xargs pathchk -p); \
680 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
684 rm -rf Fetchdir > /dev/null 2>&1
685 mkdir Fetchdir; mkdir Fetchdir/Automake
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 :; \
697 echo "Updating $(srcdir)/lib/$$file..."; \
698 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
702 echo "See Fetchdir/update.patch for a log of the changes."; \
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.