1 # Makefile.in generated automatically by automake 1.4e from Makefile.am.
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 INSTALL_HEADER = $(INSTALL_DATA)
51 transform = @program_transform_name@
65 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
66 INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
72 _am_include = @_am_include@
73 install_sh = @install_sh@
76 AUTOMAKE_OPTIONS = gnits 1.4
77 MAINT_CHARSET = latin1
81 bin_SCRIPTS = automake aclocal
82 info_TEXINFOS = automake.texi
84 amfiles = check.am clean-hdr.am clean-kr.am clean.am comp-vars.am \
85 compile.am configure.am data.am dejagnu.am depend.am depend2.am \
86 distdir.am footer.am header-vars.am header.am install.am java.am \
87 kr-extra.am library.am libs.am libtool.am lisp.am ltlib.am \
88 ltlibrary.am mans-vars.am mans.am multilib.am program.am progs.am \
89 python.am remake-hdr.am remake.am scripts.am subdirs.am tags.am \
90 texi-vers.am texibuild.am texinfos.am
93 dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
97 scriptdir = $(pkgdatadir)
98 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
99 mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile
102 TAGS_FILES = automake.in aclocal.in $(amfiles)
104 # The following requires a fixed version of the Emacs 19.30 etags.
105 ETAGS_ARGS = --lang=none \
106 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
108 TAGS_DEPENDENCIES = automake.texi
110 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998
114 FETCHFILES = config.guess config.sub
118 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
119 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
120 CONFIG_CLEAN_FILES = automake aclocal
121 SCRIPTS = $(bin_SCRIPTS)
125 INFO_DEPS = automake.info
127 TEXINFOS = automake.texi
128 DATA = $(dist_pkgdata_DATA) $(dist_script_DATA)
130 DIST_COMMON = README $(dist_pkgdata_DATA) $(dist_script_DATA) AUTHORS \
131 COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS README-alpha \
132 THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 ansi2knr.c automake.in \
133 compile config.guess config.sub configure configure.in depcomp \
134 elisp-comp install-sh mdate-sh missing mkinstalldirs py-compile \
135 stamp-vti texinfo.tex version.texi ylwrap
137 DIST_SUBDIRS = $(SUBDIRS)
141 .SUFFIXES: .dvi .info .ps .texi .texinfo .txi
143 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
144 cd $(top_srcdir) && \
145 $(AUTOMAKE) --gnits Makefile
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) && \
149 CONFIG_HEADERS= CONFIG_LINKS= \
150 CONFIG_FILES=$@ $(SHELL) ./config.status
151 $(ACLOCAL_M4): configure.in
152 cd $(srcdir) && $(ACLOCAL)
154 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
155 $(SHELL) ./config.status --recheck
156 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
157 cd $(srcdir) && $(AUTOCONF)
158 automake: $(top_builddir)/config.status automake.in
159 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
160 aclocal: $(top_builddir)/config.status aclocal.in
161 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
162 install-binSCRIPTS: $(bin_SCRIPTS)
164 $(mkinstalldirs) $(DESTDIR)$(bindir)
165 @list='$(bin_SCRIPTS)'; for p in $$list; do \
166 f="`echo $$p|sed '$(transform)'`"; \
167 if test -f $$p; then \
168 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
169 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
170 elif test -f $(srcdir)/$$p; then \
171 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
172 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
176 uninstall-binSCRIPTS:
178 @list='$(bin_SCRIPTS)'; for p in $$list; do \
179 f="`echo $$p|sed '$(transform)'`"; \
180 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
181 rm -f $(DESTDIR)$(bindir)/$$f; \
184 $(srcdir)/version.texi: $(srcdir)/stamp-vti
187 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
188 @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/automake.texi`; \
189 echo "@set UPDATED $$1 $$2 $$3"; \
190 echo "@set UPDATED-MONTH $$2 $$3"; \
191 echo "@set EDITION $(VERSION)"; \
192 echo "@set VERSION $(VERSION)") > vti.tmp
193 @cmp -s vti.tmp $(srcdir)/version.texi \
194 || (echo "Updating $(srcdir)/version.texi"; \
195 cp vti.tmp $(srcdir)/version.texi)
197 @cp $(srcdir)/version.texi $@
202 maintainer-clean-vti:
203 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
205 automake.info: automake.texi $(srcdir)/version.texi
206 automake.dvi: automake.texi $(srcdir)/version.texi
209 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
211 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
214 TEXINPUTS=$(srcdir):$$TEXINPUTS \
215 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
218 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
220 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
228 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
229 list='$(INFO_DEPS)'; \
230 for file in $$list; do \
231 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
232 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
236 @list='$(INFO_DEPS)'; \
237 for file in $$list; do \
238 (if cd $(DESTDIR)$(infodir); then \
239 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
240 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
244 dist-info: $(INFO_DEPS)
245 list='$(INFO_DEPS)'; \
246 for base in $$list; do \
248 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
249 test -f $(distdir)/$$file \
250 || cp -p $$d/$$file $(distdir)/$$file; \
255 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
256 automake.dvi automake.fn automake.ky automake.log automake.op \
257 automake.ov automake.pg automake.ps automake.toc automake.tp \
258 automake.tr automake.vr automake.vrs
260 maintainer-clean-aminfo:
262 for i in $(INFO_DEPS); do \
264 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
268 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
270 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
271 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
272 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
273 f="`echo $$p | sed -e 's|^.*/||'`"; \
274 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
275 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
278 uninstall-dist_pkgdataDATA:
280 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
281 f="`echo $$p | sed -e 's|^.*/||'`"; \
282 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
283 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
285 install-dist_scriptDATA: $(dist_script_DATA)
287 $(mkinstalldirs) $(DESTDIR)$(scriptdir)
288 @list='$(dist_script_DATA)'; for p in $$list; do \
289 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
290 f="`echo $$p | sed -e 's|^.*/||'`"; \
291 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
292 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
295 uninstall-dist_scriptDATA:
297 @list='$(dist_script_DATA)'; for p in $$list; do \
298 f="`echo $$p | sed -e 's|^.*/||'`"; \
299 echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
300 rm -f $(DESTDIR)$(scriptdir)/$$f; \
303 # This directory's subdirectories are mostly independent; you can cd
304 # into them and run `make' without going through this Makefile.
305 # To change the values of `make' variables: instead of editing Makefiles,
306 # (1) if the variable is set in `config.status', edit `config.status'
307 # (which will cause the Makefiles to be regenerated when you run `make');
308 # (2) otherwise, pass the desired values on the `make' command line.
309 all-recursive install-data-recursive install-exec-recursive \
310 installdirs-recursive install-recursive uninstall-recursive \
311 install-info-recursive uninstall-info-recursive \
312 check-recursive installcheck-recursive info-recursive dvi-recursive:
313 @set fnord $(MAKEFLAGS); amf=$$2; \
315 target=`echo $@ | sed s/-recursive//`; \
316 list='$(SUBDIRS)'; for subdir in $$list; do \
317 echo "Making $$target in $$subdir"; \
318 if test "$$subdir" = "."; then \
320 local_target="$$target-am"; \
322 local_target="$$target"; \
324 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
325 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
327 if test "$$dot_seen" = "no"; then \
328 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
331 mostlyclean-recursive clean-recursive distclean-recursive \
332 maintainer-clean-recursive:
333 @set fnord $(MAKEFLAGS); amf=$$2; \
336 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
337 *) list='$(SUBDIRS)' ;; \
339 rev=''; for subdir in $$list; do \
340 if test "$$subdir" = "."; then :; else \
341 rev="$$subdir $$rev"; \
345 target=`echo $@ | sed s/-recursive//`; \
346 for subdir in $$rev; do \
347 echo "Making $$target in $$subdir"; \
348 if test "$$subdir" = "."; then \
349 local_target="$$target-am"; \
351 local_target="$$target"; \
353 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
354 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
355 done && test -z "$$fail"
357 list='$(SUBDIRS)'; for subdir in $$list; do \
358 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
363 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
364 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
365 unique=`for i in $$list; do \
366 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
368 $(AWK) ' { files[$$0] = 1; } \
369 END { for (i in files) print i; }'`; \
370 mkid -fID $$unique $(LISP)
372 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
373 $(TAGS_FILES) $(LISP)
376 list='$(SUBDIRS)'; for subdir in $$list; do \
377 if test "$$subdir" = .; then :; else \
378 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
381 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
382 unique=`for i in $$list; do \
383 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
385 $(AWK) ' { files[$$0] = 1; } \
386 END { for (i in files) print i; }'`; \
387 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
388 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
391 here=`CDPATH=: && cd $(top_builddir) && pwd` \
392 && cd $(top_srcdir) \
398 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
401 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
405 distdir: $(DISTFILES)
406 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; then :; else \
407 echo "NEWS not updated; not releasing" 1>&2; \
410 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
412 $(mkinstalldirs) $(distdir)/.
413 @for file in $(DISTFILES); do \
415 if test -d $$d/$$file; then \
416 cp -pR $$d/$$file $(distdir) \
419 test -f $(distdir)/$$file \
420 || cp -p $$d/$$file $(distdir)/$$file \
424 for subdir in $(SUBDIRS); do \
425 if test "$$subdir" = .; then :; else \
426 test -d $(distdir)/$$subdir \
427 || mkdir $(distdir)/$$subdir \
430 $(MAKE) $(AM_MAKEFLAGS) \
431 top_distdir="$(top_distdir)" \
432 distdir=../$(distdir)/$$subdir \
437 $(MAKE) $(AM_MAKEFLAGS) \
438 top_distdir="${top_distdir}" distdir="$(distdir)" \
440 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
441 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
442 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
443 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
444 || chmod -R a+r $(distdir)
446 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
447 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
448 # This target untars the dist file and tries a VPATH configuration. Then
449 # it guarantees that the distribution is self-contained by making another
452 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
453 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
454 chmod -R a-w $(distdir); chmod a+w $(distdir)
455 mkdir $(distdir)/=build
456 mkdir $(distdir)/=inst
458 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
459 && cd $(distdir)/=build \
460 && ../configure --srcdir=.. --prefix=$$dc_install_base \
461 && $(MAKE) $(AM_MAKEFLAGS) \
462 && $(MAKE) $(AM_MAKEFLAGS) dvi \
463 && $(MAKE) $(AM_MAKEFLAGS) check \
464 && $(MAKE) $(AM_MAKEFLAGS) install \
465 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
466 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
467 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
468 && $(MAKE) $(AM_MAKEFLAGS) dist \
469 && $(MAKE) $(AM_MAKEFLAGS) distclean \
470 && rm -f $(distdir).tar.gz \
471 && (test `find . -type f -print | wc -l` -eq 0 \
472 || (echo "Error: files left after distclean" 1>&2; \
474 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
475 @echo "$(distdir).tar.gz is ready for distribution" | \
476 sed 'h;s/./=/g;p;x;p;x'
478 check: check-recursive
479 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
481 installdirs: installdirs-recursive
483 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(scriptdir)
485 install: install-recursive
486 install-exec: install-exec-recursive
487 install-data: install-data-recursive
488 uninstall: uninstall-recursive
491 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
493 installcheck: installcheck-recursive
496 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
497 INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
504 -rm -f Makefile $(CONFIG_CLEAN_FILES)
505 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
507 maintainer-clean-generic:
508 @echo "This command is intended for maintainers to use"
509 @echo "it deletes files that may require special tools to rebuild."
511 clean: clean-recursive
513 clean-am: clean-generic mostlyclean-am
517 distclean: distclean-recursive
520 distclean-am: clean-am distclean-generic distclean-tags
528 info-am: $(INFO_DEPS)
530 install-data-am: install-dist_pkgdataDATA install-dist_scriptDATA \
533 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
535 install-exec-am: install-binSCRIPTS
537 install-info: install-info-recursive
539 install-info-am: $(INFO_DEPS)
541 $(mkinstalldirs) $(DESTDIR)$(infodir)
542 @list='$(INFO_DEPS)'; \
543 for file in $$list; do \
545 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
546 if test -f $$d/$$ifile; then \
547 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
548 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
553 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
554 list='$(INFO_DEPS)'; \
555 for file in $$list; do \
556 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
557 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
562 installcheck-am: installcheck-local
564 maintainer-clean: maintainer-clean-recursive
567 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
568 maintainer-clean-generic maintainer-clean-vti
570 mostlyclean: mostlyclean-recursive
572 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
574 uninstall-am: uninstall-binSCRIPTS uninstall-dist_pkgdataDATA \
575 uninstall-dist_scriptDATA uninstall-info-am
577 uninstall-info: uninstall-info-recursive
579 .PHONY: all all-am all-recursive check check-am check-recursive clean \
580 clean-generic clean-recursive dist dist-all dist-info distcheck \
581 distclean distclean-generic distclean-recursive distclean-tags \
582 distdir dvi dvi-am dvi-recursive info info-am info-recursive \
583 install install-am install-binSCRIPTS install-data \
584 install-data-am install-data-recursive install-dist_pkgdataDATA \
585 install-dist_scriptDATA install-exec install-exec-am \
586 install-exec-recursive install-info install-info-recursive \
587 install-man install-recursive install-strip installcheck \
588 installcheck-am installcheck-local installcheck-recursive \
589 installdirs installdirs-am installdirs-recursive \
590 maintainer-clean maintainer-clean-aminfo \
591 maintainer-clean-generic maintainer-clean-recursive \
592 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
593 mostlyclean-generic mostlyclean-recursive mostlyclean-vti tags \
594 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
595 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA \
596 uninstall-info-recursive uninstall-recursive
601 @for prog in $(dist_script_DATA); do \
602 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
603 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
607 for file in $(dist_script_DATA); do \
608 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
611 ################################################################
613 # Some simple checks, and then ordinary check. These are only really
614 # guaranteed to work on my machine.
615 maintainer-check: automake aclocal
616 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
617 echo "found too many diffs between automake.in and automake"; 1>&2; \
618 diff -c $(srcdir)/automake.in automake; \
621 $(PERL) -c -w automake
622 $(PERL) -c -w aclocal
623 @if fgrep '\$${' $(srcdir)/[a-z]*.am | \
624 fgrep -v '$$$$'; then \
625 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
628 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
629 $(srcdir)/[a-z]*.am $(srcdir)/tests/*.test | \
630 fgrep -v '##'; then \
631 echo "Suspicious 'rm' invocation." 1>&2; \
634 @if fgrep -n 'mkinstalldirs' $(srcdir)/[a-z]*.am | \
635 fgrep -v '$$(mkinstalldirs)'; then \
636 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
639 @if grep -n -w undef $(srcdir)/automake.in | \
640 fgrep -v 'undef $$/'; then \
641 echo "Found undef in automake.in; use delete instead" 1>&2; \
644 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
645 echo "Found bad split in the lines above." 1>&2; \
648 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in $(srcdir)/*.am \
649 $(srcdir)/m4/*.m4; then \
650 echo "Consider setting CDPATH in the lines above" 1>&2; \
653 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
654 echo "Using @_ in a scalar context in the lines above." 1>&2; \
657 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
658 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
661 @locals=`grep -c '^[ \t]*local [^*]' $(srcdir)/automake.in`; \
664 echo "Wow, congrats! There are no \`local' now!." >&2; \
665 echo "Please update Makefile.am (maintainer-check)." >&2; \
670 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
671 echo "Up to now 1 was enough." >&2; \
676 # Tag before making distribution. Also, don't make a distribution if
677 # checks fail. Also, make sure the NEWS file is up-to-date.
678 cvs-dist: maintainer-check distcheck
679 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
680 echo "NEWS not updated; not releasing" 1>&2; \
683 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
687 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
688 if test -z "$$OLDVERSION"; then \
689 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
690 else prevno="$$OLDVERSION"; fi; \
691 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
692 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
693 > $(PACKAGE)-$$prevno-$(VERSION).diff
697 find . -print | xargs pathchk -p); \
699 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
703 rm -rf Fetchdir > /dev/null 2>&1
706 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
707 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub)
708 @stat=0; for file in $(FETCHFILES); do \
709 if diff $(srcdir)/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
712 echo "install Fetchdir/$$file into srcdir and commit"; \
716 # Tell versions [3.59,3.63) of GNU make to not export all variables.
717 # Otherwise a system limit (for SysV at least) may be exceeded.