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@
51 INSTALL_HEADER = $(INSTALL_DATA)
52 transform = @program_transform_name@
62 host_alias = @host_alias@
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@
79 AUTOMAKE_OPTIONS = gnits 1.4
80 MAINT_CHARSET = latin1
84 bin_SCRIPTS = automake aclocal
85 info_TEXINFOS = automake.texi
87 amfiles = check.am clean-hdr.am clean-kr.am clean.am comp-vars.am \
88 compile.am data-clean.am data.am dejagnu.am depend.am depend2.am \
89 dist.am distdir.am dist-vars.am footer.am header-vars.am header.am \
90 java-clean.am java.am kr-extra.am library.am libs-clean.am libs.am \
91 libtool.am lisp-clean.am lisp.am ltlib-clean.am ltlib.am ltlibrary.am \
92 mans-vars.am mans.am multilib.am program.am progs-clean.am progs.am \
93 python.am python-clean.am remake-hdr.am remake.am scripts.am \
94 subdirs.am tags-clean.am tags.am texi-vers.am texinfos.am
97 dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
101 scriptdir = $(pkgdatadir)
102 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
103 mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile
106 TAGS_FILES = automake.in aclocal.in $(amfiles)
108 # The following requires a fixed version of the Emacs 19.30 etags.
109 ETAGS_ARGS = --lang=none \
110 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
112 TAGS_DEPENDENCIES = automake.texi
114 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998
118 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)
132 DIST_COMMON = README $(dist_pkgdata_DATA) $(dist_script_DATA) AUTHORS \
133 COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS README-alpha \
134 THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 ansi2knr.c automake.in \
135 compile config.guess config.sub configure configure.in depcomp \
136 elisp-comp install-sh mdate-sh missing mkinstalldirs py-compile \
137 stamp-vti texinfo.tex version.texi ylwrap
140 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
143 DIST_SUBDIRS = $(SUBDIRS)
146 .SUFFIXES: .dvi .info .ps .texi .texinfo .txi
147 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
148 cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile
150 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
152 && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
154 $(ACLOCAL_M4): configure.in
155 cd $(srcdir) && $(ACLOCAL)
157 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
158 $(SHELL) ./config.status --recheck
159 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
160 cd $(srcdir) && $(AUTOCONF)
161 automake: $(top_builddir)/config.status automake.in
162 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
163 aclocal: $(top_builddir)/config.status aclocal.in
164 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
166 install-binSCRIPTS: $(bin_SCRIPTS)
168 $(mkinstalldirs) $(DESTDIR)$(bindir)
169 @list='$(bin_SCRIPTS)'; for p in $$list; do \
170 f="`echo $$p|sed '$(transform)'`"; \
171 if test -f $$p; then \
172 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
173 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
174 elif test -f $(srcdir)/$$p; then \
175 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
176 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
180 uninstall-binSCRIPTS:
182 @list='$(bin_SCRIPTS)'; for p in $$list; do \
183 f="`echo $$p|sed '$(transform)'`"; \
184 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
185 rm -f $(DESTDIR)$(bindir)/$$f; \
188 $(srcdir)/version.texi: $(srcdir)/stamp-vti
191 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
192 @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/automake.texi`; \
193 echo "@set UPDATED $$1 $$2 $$3"; \
194 echo "@set UPDATED-MONTH $$2 $$3"; \
195 echo "@set EDITION $(VERSION)"; \
196 echo "@set VERSION $(VERSION)") > vti.tmp
197 @cmp -s vti.tmp $(srcdir)/version.texi \
198 || (echo "Updating $(srcdir)/version.texi"; \
199 cp vti.tmp $(srcdir)/version.texi)
201 @cp $(srcdir)/version.texi $@
206 maintainer-clean-vti:
207 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
209 automake.info: automake.texi $(srcdir)/version.texi
210 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,.*/,,'`
230 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
232 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
235 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
237 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
240 TEXINPUTS=$(srcdir):$$TEXINPUTS \
241 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
244 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
246 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
249 TEXINPUTS=$(srcdir):$$TEXINPUTS \
250 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
253 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
255 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
259 install-info-am: $(INFO_DEPS)
261 $(mkinstalldirs) $(DESTDIR)$(infodir)
262 @list='$(INFO_DEPS)'; \
263 for file in $$list; do \
265 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
266 if test -f $$d/$$ifile; then \
267 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
268 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
273 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
274 list='$(INFO_DEPS)'; \
275 for file in $$list; do \
276 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
277 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
283 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
284 list='$(INFO_DEPS)'; \
285 for file in $$list; do \
286 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
287 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
291 @list='$(INFO_DEPS)'; \
292 for file in $$list; do \
293 (if cd $(DESTDIR)$(infodir); then \
294 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
295 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
299 dist-info: $(INFO_DEPS)
300 list='$(INFO_DEPS)'; \
301 for base in $$list; do \
303 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
304 test -f $(distdir)/$$file \
305 || cp -p $$d/$$file $(distdir)/$$file; \
310 -rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
311 automake.fns automake.pgs automake.ky automake.kys \
312 automake.ps automake.log automake.pg automake.toc automake.tp \
313 automake.tps automake.vr automake.vrs automake.op automake.tr \
314 automake.cv automake.cn automake.cm automake.ov
316 maintainer-clean-aminfo:
318 for i in $(INFO_DEPS); do \
320 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
325 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
327 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
328 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
329 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
330 f="`echo $$p | sed -e 's|^.*/||'`"; \
331 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
332 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
335 uninstall-dist_pkgdataDATA:
337 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
338 f="`echo $$p | sed -e 's|^.*/||'`"; \
339 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
340 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
343 install-dist_scriptDATA: $(dist_script_DATA)
345 $(mkinstalldirs) $(DESTDIR)$(scriptdir)
346 @list='$(dist_script_DATA)'; for p in $$list; do \
347 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
348 f="`echo $$p | sed -e 's|^.*/||'`"; \
349 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
350 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
353 uninstall-dist_scriptDATA:
355 @list='$(dist_script_DATA)'; for p in $$list; do \
356 f="`echo $$p | sed -e 's|^.*/||'`"; \
357 echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
358 rm -f $(DESTDIR)$(scriptdir)/$$f; \
361 # This directory's subdirectories are mostly independent; you can cd
362 # into them and run `make' without going through this Makefile.
363 # To change the values of `make' variables: instead of editing Makefiles,
364 # (1) if the variable is set in `config.status', edit `config.status'
365 # (which will cause the Makefiles to be regenerated when you run `make');
366 # (2) otherwise, pass the desired values on the `make' command line.
367 all-recursive install-data-recursive install-exec-recursive \
368 installdirs-recursive install-recursive uninstall-recursive \
369 check-recursive installcheck-recursive info-recursive dvi-recursive:
370 @set fnord $(MAKEFLAGS); amf=$$2; \
372 target=`echo $@ | sed s/-recursive//`; \
373 list='$(SUBDIRS)'; for subdir in $$list; do \
374 echo "Making $$target in $$subdir"; \
375 if test "$$subdir" = "."; then \
377 local_target="$$target-am"; \
379 local_target="$$target"; \
381 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
382 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
384 if test "$$dot_seen" = "no"; then \
385 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
388 mostlyclean-recursive clean-recursive distclean-recursive \
389 maintainer-clean-recursive:
390 @set fnord $(MAKEFLAGS); amf=$$2; \
393 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
394 *) list='$(SUBDIRS)' ;; \
396 rev=''; for subdir in $$list; do \
397 if test "$$subdir" = "."; then :; else \
398 rev="$$subdir $$rev"; \
402 target=`echo $@ | sed s/-recursive//`; \
403 for subdir in $$rev; do \
404 echo "Making $$target in $$subdir"; \
405 if test "$$subdir" = "."; then \
406 local_target="$$target-am"; \
408 local_target="$$target"; \
410 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
411 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
412 done && test -z "$$fail"
414 list='$(SUBDIRS)'; for subdir in $$list; do \
415 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
420 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
421 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
422 unique=`for i in $$list; do \
423 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
425 $(AWK) ' { files[$$0] = 1; } \
426 END { for (i in files) print i; }'`; \
427 mkid -fID $$unique $(LISP)
429 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
430 $(TAGS_FILES) $(LISP)
433 list='$(SUBDIRS)'; for subdir in $$list; do \
434 if test "$$subdir" = .; then :; else \
435 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
438 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
439 unique=`for i in $$list; do \
440 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
442 $(AWK) ' { files[$$0] = 1; } \
443 END { for (i in files) print i; }'`; \
444 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
445 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
448 here=`CDPATH=: && cd $(top_builddir) && pwd` \
449 && cd $(top_srcdir) \
455 distdir = $(PACKAGE)-$(VERSION)
456 top_distdir = $(distdir)
459 # This target untars the dist file and tries a VPATH configuration. Then
460 # it guarantees that the distribution is self-contained by making another
463 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
464 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
465 chmod -R a-w $(distdir); chmod a+w $(distdir)
466 mkdir $(distdir)/=build
467 mkdir $(distdir)/=inst
469 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
470 && cd $(distdir)/=build \
471 && ../configure --srcdir=.. --prefix=$$dc_install_base \
472 && $(MAKE) $(AM_MAKEFLAGS) \
473 && $(MAKE) $(AM_MAKEFLAGS) dvi \
474 && $(MAKE) $(AM_MAKEFLAGS) check \
475 && $(MAKE) $(AM_MAKEFLAGS) install \
476 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
477 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
478 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
479 && $(MAKE) $(AM_MAKEFLAGS) dist \
480 && $(MAKE) $(AM_MAKEFLAGS) distclean \
481 && rm -f $(distdir).tar.gz \
482 && test `find . -type f -print | wc -l` -eq 0
483 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
484 @banner="$(distdir).tar.gz is ready for distribution"; \
485 dashes=`echo "$$banner" | sed s/./=/g`; \
490 distdir: $(DISTFILES)
491 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; then :; else \
492 echo "NEWS not updated; not releasing" 1>&2; \
495 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
497 $(mkinstalldirs) $(distdir)/. .
498 @for file in $(DISTFILES); do \
500 if test -d $$d/$$file; then \
501 cp -pR $$d/$$file $(distdir) \
504 test -f $(distdir)/$$file \
505 || cp -p $$d/$$file $(distdir)/$$file \
509 for subdir in $(SUBDIRS); do \
510 if test "$$subdir" = .; then :; else \
511 test -d $(distdir)/$$subdir \
512 || mkdir $(distdir)/$$subdir \
515 $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
519 $(MAKE) $(AM_MAKEFLAGS) \
520 top_distdir="$(top_distdir)" distdir="$(distdir)" \
522 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
523 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
524 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
525 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
526 || chmod -R a+r $(distdir)
529 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
530 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
531 info-am: $(INFO_DEPS)
536 check: check-recursive
537 installcheck-am: installcheck-local
538 installcheck: installcheck-recursive
539 install-exec-am: install-binSCRIPTS
540 install-exec: install-exec-recursive
542 install-data-am: install-info-am install-dist_pkgdataDATA \
543 install-dist_scriptDATA
545 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
546 install-data: install-data-recursive
549 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
550 install: install-recursive
551 uninstall-am: uninstall-binSCRIPTS uninstall-info \
552 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA
553 uninstall: uninstall-recursive
554 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
556 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
557 installdirs: installdirs-recursive
559 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
560 $(DESTDIR)$(dist_pkgdatadir) \
561 $(DESTDIR)$(dist_scriptdir)
569 -rm -f Makefile $(CONFIG_CLEAN_FILES)
570 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
572 maintainer-clean-generic:
573 @echo "This command is intended for maintainers to use"
574 @echo "it deletes files that may require special tools to rebuild."
576 clean: clean-recursive
578 clean-am: clean-generic mostlyclean-am
582 distclean: distclean-recursive
585 distclean-am: clean-am distclean-generic distclean-tags
587 maintainer-clean: maintainer-clean-recursive
590 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
591 maintainer-clean-generic maintainer-clean-vti
593 mostlyclean: mostlyclean-recursive
595 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
597 .PHONY: all all-am all-recursive check check-am check-recursive clean \
598 clean-generic clean-recursive dist dist-all distclean \
599 distclean-generic distclean-recursive distclean-tags distdir \
600 dvi dvi-am dvi-recursive info info-am info-recursive install \
601 install-am install-binSCRIPTS install-data install-data-am \
602 install-data-recursive install-dist_pkgdataDATA \
603 install-dist_scriptDATA install-exec install-exec-am \
604 install-exec-recursive install-info-am install-recursive \
605 install-strip installcheck installcheck-am installcheck-local \
606 installcheck-recursive installdirs installdirs-am \
607 installdirs-recursive maintainer-clean maintainer-clean-aminfo \
608 maintainer-clean-generic maintainer-clean-recursive \
609 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
610 mostlyclean-generic mostlyclean-recursive mostlyclean-vti tags \
611 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
612 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA \
613 uninstall-info uninstall-recursive
618 @for prog in $(dist_script_DATA); do \
619 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
620 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
624 for file in $(dist_script_DATA); do \
625 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
628 ################################################################
630 # Some simple checks, and then ordinary check. These are only really
631 # guaranteed to work on my machine.
632 maintainer-check: automake aclocal
633 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
634 echo "found too many diffs between automake.in and automake"; 1>&2; \
635 diff -c $(srcdir)/automake.in automake; \
638 $(PERL) -c -w automake
639 $(PERL) -c -w aclocal
640 @if fgrep '\$${' $(srcdir)/[a-z]*.am | \
643 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
646 @if fgrep -n 'mkinstalldirs' $(srcdir)/[a-z]*.am | \
647 fgrep -v '$$(mkinstalldirs)' | \
649 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
652 @if grep -n -w undef $(srcdir)/automake.in; then \
653 echo "Found undef in automake.in; use delete instead" 1>&2; \
656 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
657 echo "Found bad split in the lines above." 1>&2; \
660 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in $(srcdir)/*.am \
661 $(srcdir)/m4/*.m4; then \
662 echo "Consider setting CDPATH in the lines above" 1>&2; \
665 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
666 echo "Using @_ in a scalar context in the lines above." 1>&2; \
670 # Tag before making distribution. Also, don't make a distribution if
671 # checks fail. Also, make sure the NEWS file is up-to-date.
672 cvs-dist: maintainer-check distcheck
673 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
674 echo "NEWS not updated; not releasing" 1>&2; \
677 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
681 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
682 if test -z "$$OLDVERSION"; then \
683 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
684 else prevno="$$OLDVERSION"; fi; \
685 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
686 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
687 > $(PACKAGE)-$$prevno-$(VERSION).diff
691 find . -print | xargs pathchk -p); \
693 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
697 rm -rf Fetchdir > /dev/null 2>&1
700 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
701 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub)
702 @stat=0; for file in $(FETCHFILES); do \
703 if diff $(srcdir)/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
706 echo "install Fetchdir/$$file into srcdir and commit"; \
710 # Tell versions [3.59,3.63) of GNU make to not export all variables.
711 # Otherwise a system limit (for SysV at least) may be exceeded.