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
20 top_srcdir = @top_srcdir@
23 exec_prefix = @exec_prefix@
27 libexecdir = @libexecdir@
29 sysconfdir = @sysconfdir@
30 sharedstatedir = @sharedstatedir@
31 localstatedir = @localstatedir@
35 includedir = @includedir@
36 oldincludedir = /usr/include
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
47 AUTOHEADER = @AUTOHEADER@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_DATA = @INSTALL_DATA@
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 INSTALL_HEADER = $(INSTALL_DATA)
54 transform = @program_transform_name@
68 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
69 INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
75 _am_include = @_am_include@
76 install_sh = @install_sh@
78 AUTOMAKE_OPTIONS = gnits 1.4
79 MAINT_CHARSET = latin1
83 bin_SCRIPTS = automake aclocal
84 info_TEXINFOS = automake.texi
86 amfiles = ansi2knr.am check.am clean-hdr.am clean.am compile.am \
87 configure.am data.am dejagnu.am depend.am depend2.am distdir.am \
88 ext-compile.am footer.am header-vars.am header.am install.am java.am \
89 lex.am library.am libs.am libtool.am lisp.am ltlib.am ltlibrary.am \
90 mans-vars.am mans.am multilib.am program.am progs.am python.am \
91 remake-hdr.am scripts.am subdirs.am tags.am texi-vers.am texibuild.am \
95 dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
99 scriptdir = $(pkgdatadir)
100 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
101 mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile
104 TAGS_FILES = automake.in aclocal.in $(amfiles)
106 # The following requires a fixed version of the Emacs 19.30 etags.
107 ETAGS_ARGS = --lang=none \
108 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
110 TAGS_DEPENDENCIES = automake.texi
112 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998
116 FETCHFILES = config.guess config.sub
120 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
121 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
122 CONFIG_CLEAN_FILES = automake aclocal
123 SCRIPTS = $(bin_SCRIPTS)
127 INFO_DEPS = automake.info
129 TEXINFOS = automake.texi
130 DATA = $(dist_pkgdata_DATA) $(dist_script_DATA)
133 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
134 uninstall-info-recursive all-recursive install-data-recursive \
135 install-exec-recursive installdirs-recursive install-recursive \
136 uninstall-recursive check-recursive installcheck-recursive
137 DIST_COMMON = README $(dist_pkgdata_DATA) $(dist_script_DATA) AUTHORS \
138 COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS README-alpha \
139 THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 ansi2knr.c automake.in \
140 compile config.guess config.sub configure configure.in depcomp \
141 elisp-comp install-sh mdate-sh missing mkinstalldirs py-compile \
142 stamp-vti texinfo.tex version.texi ylwrap
144 DIST_SUBDIRS = $(SUBDIRS)
148 .SUFFIXES: .dvi .info .ps .texi
150 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
151 cd $(top_srcdir) && \
152 $(AUTOMAKE) --gnits Makefile
154 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
155 cd $(top_builddir) && \
156 CONFIG_HEADERS= CONFIG_LINKS= \
157 CONFIG_FILES=$@ $(SHELL) ./config.status
158 $(ACLOCAL_M4): configure.in
159 cd $(srcdir) && $(ACLOCAL)
161 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
162 $(SHELL) ./config.status --recheck
163 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
164 cd $(srcdir) && $(AUTOCONF)
165 automake: $(top_builddir)/config.status automake.in
166 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
167 aclocal: $(top_builddir)/config.status aclocal.in
168 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
169 install-binSCRIPTS: $(bin_SCRIPTS)
171 $(mkinstalldirs) $(DESTDIR)$(bindir)
172 @list='$(bin_SCRIPTS)'; for p in $$list; do \
173 f="`echo $$p|sed '$(transform)'`"; \
174 if test -f $$p; then \
175 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
176 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
177 elif test -f $(srcdir)/$$p; then \
178 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
179 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
183 uninstall-binSCRIPTS:
185 @list='$(bin_SCRIPTS)'; for p in $$list; do \
186 f="`echo $$p|sed '$(transform)'`"; \
187 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
188 rm -f $(DESTDIR)$(bindir)/$$f; \
191 $(srcdir)/version.texi: $(srcdir)/stamp-vti
194 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
195 @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/automake.texi`; \
196 echo "@set UPDATED $$1 $$2 $$3"; \
197 echo "@set UPDATED-MONTH $$2 $$3"; \
198 echo "@set EDITION $(VERSION)"; \
199 echo "@set VERSION $(VERSION)") > vti.tmp
200 @cmp -s vti.tmp $(srcdir)/version.texi \
201 || (echo "Updating $(srcdir)/version.texi"; \
202 cp vti.tmp $(srcdir)/version.texi)
204 @cp $(srcdir)/version.texi $@
209 maintainer-clean-vti:
210 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
212 automake.info: automake.texi $(srcdir)/version.texi
213 automake.dvi: automake.texi $(srcdir)/version.texi
216 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
218 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
221 TEXINPUTS=$(srcdir):$$TEXINPUTS \
222 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
225 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
227 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
235 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
236 list='$(INFO_DEPS)'; \
237 for file in $$list; do \
238 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
239 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
243 @list='$(INFO_DEPS)'; \
244 for file in $$list; do \
245 (if cd $(DESTDIR)$(infodir); then \
246 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
247 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
251 dist-info: $(INFO_DEPS)
252 list='$(INFO_DEPS)'; \
253 for base in $$list; do \
255 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
256 test -f $(distdir)/$$file \
257 || cp -p $$d/$$file $(distdir)/$$file; \
262 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
263 automake.dvi automake.fn automake.ky automake.log automake.op \
264 automake.ov automake.pg automake.ps automake.toc automake.tp \
265 automake.tr automake.vr automake.vrs
267 maintainer-clean-aminfo:
269 for i in $(INFO_DEPS); do \
271 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
275 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
277 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
278 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
279 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
280 f="`echo $$p | sed -e 's|^.*/||'`"; \
281 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
282 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
285 uninstall-dist_pkgdataDATA:
287 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
288 f="`echo $$p | sed -e 's|^.*/||'`"; \
289 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
290 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
292 install-dist_scriptDATA: $(dist_script_DATA)
294 $(mkinstalldirs) $(DESTDIR)$(scriptdir)
295 @list='$(dist_script_DATA)'; for p in $$list; do \
296 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
297 f="`echo $$p | sed -e 's|^.*/||'`"; \
298 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
299 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
302 uninstall-dist_scriptDATA:
304 @list='$(dist_script_DATA)'; for p in $$list; do \
305 f="`echo $$p | sed -e 's|^.*/||'`"; \
306 echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
307 rm -f $(DESTDIR)$(scriptdir)/$$f; \
310 # This directory's subdirectories are mostly independent; you can cd
311 # into them and run `make' without going through this Makefile.
312 # To change the values of `make' variables: instead of editing Makefiles,
313 # (1) if the variable is set in `config.status', edit `config.status'
314 # (which will cause the Makefiles to be regenerated when you run `make');
315 # (2) otherwise, pass the desired values on the `make' command line.
316 $(RECURSIVE_TARGETS):
317 @set fnord $(MAKEFLAGS); amf=$$2; \
319 target=`echo $@ | sed s/-recursive//`; \
320 list='$(SUBDIRS)'; for subdir in $$list; do \
321 echo "Making $$target in $$subdir"; \
322 if test "$$subdir" = "."; then \
324 local_target="$$target-am"; \
326 local_target="$$target"; \
328 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
329 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
331 if test "$$dot_seen" = "no"; then \
332 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
335 mostlyclean-recursive clean-recursive distclean-recursive \
336 maintainer-clean-recursive:
337 @set fnord $(MAKEFLAGS); amf=$$2; \
340 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
341 *) list='$(SUBDIRS)' ;; \
343 rev=''; for subdir in $$list; do \
344 if test "$$subdir" = "."; then :; else \
345 rev="$$subdir $$rev"; \
349 target=`echo $@ | sed s/-recursive//`; \
350 for subdir in $$rev; do \
351 echo "Making $$target in $$subdir"; \
352 if test "$$subdir" = "."; then \
353 local_target="$$target-am"; \
355 local_target="$$target"; \
357 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
358 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
359 done && test -z "$$fail"
361 list='$(SUBDIRS)'; for subdir in $$list; do \
362 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
367 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
368 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
369 unique=`for i in $$list; do \
370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
372 $(AWK) ' { files[$$0] = 1; } \
373 END { for (i in files) print i; }'`; \
374 mkid -fID $$unique $(LISP)
376 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
377 $(TAGS_FILES) $(LISP)
380 list='$(SUBDIRS)'; for subdir in $$list; do \
381 if test "$$subdir" = .; then :; else \
382 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
385 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
386 unique=`for i in $$list; do \
387 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
389 $(AWK) ' { files[$$0] = 1; } \
390 END { for (i in files) print i; }'`; \
391 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
392 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
395 here=`CDPATH=: && cd $(top_builddir) && pwd` \
396 && cd $(top_srcdir) \
402 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
405 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
409 distdir: $(DISTFILES)
410 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; \
412 echo "NEWS not updated; not releasing" 1>&2; \
415 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
417 $(mkinstalldirs) $(distdir)/.
418 @for file in $(DISTFILES); do \
420 if test -d $$d/$$file; then \
421 cp -pR $$d/$$file $(distdir) \
424 test -f $(distdir)/$$file \
425 || cp -p $$d/$$file $(distdir)/$$file \
429 for subdir in $(SUBDIRS); do \
430 if test "$$subdir" = .; then :; else \
431 test -d $(distdir)/$$subdir \
432 || mkdir $(distdir)/$$subdir \
435 $(MAKE) $(AM_MAKEFLAGS) \
436 top_distdir="$(top_distdir)" \
437 distdir=../$(distdir)/$$subdir \
442 $(MAKE) $(AM_MAKEFLAGS) \
443 top_distdir="${top_distdir}" distdir="$(distdir)" \
445 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
446 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
447 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
448 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
449 || chmod -R a+r $(distdir)
451 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
452 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
453 # This target untars the dist file and tries a VPATH configuration. Then
454 # it guarantees that the distribution is self-contained by making another
457 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
458 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
459 chmod -R a-w $(distdir); chmod a+w $(distdir)
460 mkdir $(distdir)/=build
461 mkdir $(distdir)/=inst
463 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
464 && cd $(distdir)/=build \
465 && ../configure --srcdir=.. --prefix=$$dc_install_base \
466 && $(MAKE) $(AM_MAKEFLAGS) \
467 && $(MAKE) $(AM_MAKEFLAGS) dvi \
468 && $(MAKE) $(AM_MAKEFLAGS) check \
469 && $(MAKE) $(AM_MAKEFLAGS) install \
470 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
471 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
472 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
473 && $(MAKE) $(AM_MAKEFLAGS) dist \
474 && $(MAKE) $(AM_MAKEFLAGS) distclean \
475 && rm -f $(distdir).tar.gz \
476 && (test `find . -type f -print | wc -l` -eq 0 \
477 || (echo "Error: files left after distclean" 1>&2; \
479 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
480 @echo "$(distdir).tar.gz is ready for distribution" | \
481 sed 'h;s/./=/g;p;x;p;x'
483 check: check-recursive
484 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
486 installdirs: installdirs-recursive
488 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(scriptdir)
490 install: install-recursive
491 install-exec: install-exec-recursive
492 install-data: install-data-recursive
493 uninstall: uninstall-recursive
496 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
498 installcheck: installcheck-recursive
501 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
502 INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
509 -rm -f Makefile $(CONFIG_CLEAN_FILES)
510 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
512 maintainer-clean-generic:
513 @echo "This command is intended for maintainers to use"
514 @echo "it deletes files that may require special tools to rebuild."
516 clean: clean-recursive
518 clean-am: clean-generic mostlyclean-am
522 distclean: distclean-recursive
524 distclean-am: clean-am distclean-generic distclean-tags
532 info-am: $(INFO_DEPS)
534 install-data-am: install-dist_pkgdataDATA install-dist_scriptDATA \
537 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
539 install-exec-am: install-binSCRIPTS
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 `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
550 if test -f $$d/$$ifile; then \
551 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
552 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
557 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
558 list='$(INFO_DEPS)'; \
559 for file in $$list; do \
560 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
561 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
566 installcheck-am: installcheck-local
568 maintainer-clean: maintainer-clean-recursive
570 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
571 maintainer-clean-generic maintainer-clean-vti
573 mostlyclean: mostlyclean-recursive
575 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
577 uninstall-am: uninstall-binSCRIPTS uninstall-dist_pkgdataDATA \
578 uninstall-dist_scriptDATA uninstall-info-am
580 uninstall-info: uninstall-info-recursive
582 .PHONY: $(RECURSIVE_TARGETS) all all-am check check-am clean \
583 clean-generic clean-recursive dist dist-all dist-info distcheck \
584 distclean distclean-generic distclean-recursive distclean-tags \
585 distdir dvi dvi-am dvi-recursive info info-am info-recursive \
586 install install-am install-binSCRIPTS install-data \
587 install-data-am install-data-recursive install-dist_pkgdataDATA \
588 install-dist_scriptDATA install-exec install-exec-am \
589 install-exec-recursive install-info install-info-recursive \
590 install-man install-recursive install-strip installcheck \
591 installcheck-am installcheck-local installdirs installdirs-am \
592 installdirs-recursive maintainer-clean maintainer-clean-aminfo \
593 maintainer-clean-generic maintainer-clean-recursive \
594 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
595 mostlyclean-generic mostlyclean-recursive mostlyclean-vti tags \
596 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
597 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA \
598 uninstall-info-recursive uninstall-recursive
603 @for prog in $(dist_script_DATA); do \
604 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
605 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
609 for file in $(dist_script_DATA); do \
610 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
613 ################################################################
615 # Some simple checks, and then ordinary check. These are only really
616 # guaranteed to work on my machine.
617 maintainer-check: automake aclocal
618 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
619 echo "found too many diffs between automake.in and automake"; 1>&2; \
620 diff -c $(srcdir)/automake.in automake; \
623 $(PERL) -c -w automake
624 $(PERL) -c -w aclocal
625 @if fgrep '\$${' $(srcdir)/[a-z]*.am | \
626 fgrep -v '$$$$'; then \
627 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
630 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
631 $(srcdir)/[a-z]*.am $(srcdir)/tests/*.test | \
632 fgrep -v '##'; then \
633 echo "Suspicious 'rm' invocation." 1>&2; \
636 @if fgrep -n 'mkinstalldirs' $(srcdir)/[a-z]*.am | \
637 fgrep -v '$$(mkinstalldirs)'; then \
638 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
641 @if grep -n -w undef $(srcdir)/automake.in | \
642 fgrep -v 'undef $$/'; then \
643 echo "Found undef in automake.in; use delete instead" 1>&2; \
646 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
647 echo "Found bad split in the lines above." 1>&2; \
650 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in $(srcdir)/*.am \
651 $(srcdir)/m4/*.m4; then \
652 echo "Consider setting CDPATH in the lines above" 1>&2; \
655 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
656 echo "Using @_ in a scalar context in the lines above." 1>&2; \
659 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
660 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
663 @locals=`grep -c '^[ \t]*local [^*]' $(srcdir)/automake.in`; \
666 echo "Wow, congrats! There are no \`local' now!." >&2; \
667 echo "Please update Makefile.am (maintainer-check)." >&2; \
672 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
673 echo "Up to now 1 was enough." >&2; \
678 # Tag before making distribution. Also, don't make a distribution if
679 # checks fail. Also, make sure the NEWS file is up-to-date.
680 cvs-dist: maintainer-check distcheck
681 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
682 echo "NEWS not updated; not releasing" 1>&2; \
685 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
689 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
690 if test -z "$$OLDVERSION"; then \
691 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
692 else prevno="$$OLDVERSION"; fi; \
693 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
694 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
695 > $(PACKAGE)-$$prevno-$(VERSION).diff
699 find . -print | xargs pathchk -p); \
701 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
705 rm -rf Fetchdir > /dev/null 2>&1
708 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
709 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub)
710 @stat=0; for file in $(FETCHFILES); do \
711 if diff $(srcdir)/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
714 echo "install Fetchdir/$$file into srcdir and commit"; \
718 # Tell versions [3.59,3.63) of GNU make to not export all variables.
719 # Otherwise a system limit (for SysV at least) may be exceeded.