1 # Makefile.in generated by automake 1.6.3 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_sh_PROGRAM
= $(install_sh
) -c
52 install_sh_SCRIPT
= $(install_sh
) -c
53 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
54 INSTALL_HEADER
= $(INSTALL_DATA
)
55 transform
= @program_transform_name@
65 PATH_SEPARATOR
= @PATH_SEPARATOR@
67 APIVERSION
= @APIVERSION@
70 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
76 am__include
= @am__include@
77 am__quote
= @am__quote@
78 install_sh
= @install_sh@
79 pkgvdatadir
= @pkgvdatadir@
81 SUBDIRS
= . m4 lib tests
83 bin_SCRIPTS
= automake aclocal
84 info_TEXINFOS
= automake.texi
86 TAGS_FILES
= automake.in aclocal.in
88 # The following requires a fixed version of the Emacs 19.30 etags.
89 ETAGS_ARGS
= --lang
=none \
90 --regex
='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
92 TAGS_DEPENDENCIES
= automake.texi
94 EXTRA_DIST
= ChangeLog
.1996 ChangeLog
.1998 ChangeLog
.2000 ChangeLog
.2001
98 FETCHFILES
= config.guess config.sub texinfo.
tex Automake
/XFile.pm INSTALL \
102 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
103 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/lib
/mkinstalldirs
104 CONFIG_CLEAN_FILES
= automake aclocal
105 SCRIPTS
= $(bin_SCRIPTS
)
108 TEXINFO_TEX
= $(top_srcdir
)/lib
/texinfo.
tex
109 INFO_DEPS
= automake.
info
111 TEXINFOS
= automake.texi
113 RECURSIVE_TARGETS
= info-recursive dvi-recursive install-info-recursive \
114 uninstall-info-recursive all-recursive install-data-recursive \
115 install-exec-recursive installdirs-recursive install-recursive \
116 uninstall-recursive check-recursive installcheck-recursive
117 DIST_COMMON
= README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
118 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
119 configure configure.in install-sh mdate-sh missing \
120 mkinstalldirs stamp-vti version.texi
121 DIST_SUBDIRS
= $(SUBDIRS
)
125 .SUFFIXES
: .
dvi .
info .ps .texi
127 am__CONFIG_DISTCLEAN_FILES
= config.status config.cache config.log \
129 $(srcdir)/Makefile.in
: Makefile.am
$(top_srcdir
)/configure.in
$(ACLOCAL_M4
)
130 cd
$(top_srcdir
) && \
131 $(AUTOMAKE
) --gnu Makefile
132 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
133 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
)
135 $(top_builddir
)/config.status
: $(srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
136 $(SHELL
) .
/config.status
--recheck
137 $(srcdir)/configure
: $(srcdir)/configure.in
$(ACLOCAL_M4
) $(CONFIGURE_DEPENDENCIES
)
138 cd
$(srcdir) && $(AUTOCONF
)
140 $(ACLOCAL_M4
): configure.in
141 cd
$(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
142 automake
: $(top_builddir
)/config.status automake.in
143 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
144 aclocal
: $(top_builddir
)/config.status aclocal.in
145 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
146 binSCRIPT_INSTALL
= $(INSTALL_SCRIPT
)
147 install-binSCRIPTS
: $(bin_SCRIPTS
)
149 $(mkinstalldirs
) $(DESTDIR
)$(bindir)
150 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
151 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
152 if
test -f
$$d$$p; then \
153 f
=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
154 echo
" $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
155 $(binSCRIPT_INSTALL
) $$d$$p $(DESTDIR
)$(bindir)/$$f; \
159 uninstall-binSCRIPTS
:
161 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
162 f
=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
163 echo
" rm -f $(DESTDIR)$(bindir)/$$f"; \
164 rm -f
$(DESTDIR
)$(bindir)/$$f; \
167 $(srcdir)/version.texi
: $(srcdir)/stamp-vti
169 $(srcdir)/stamp-vti
: automake.texi
$(top_srcdir
)/configure.in
170 @
(set
`$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
171 echo
"@set UPDATED $$1 $$2 $$3"; \
172 echo
"@set UPDATED-MONTH $$2 $$3"; \
173 echo
"@set EDITION $(VERSION)"; \
174 echo
"@set VERSION $(VERSION)") > vti.tmp
175 @cmp
-s vti.tmp
$(srcdir)/version.texi \
176 ||
(echo
"Updating $(srcdir)/version.texi"; \
177 cp vti.tmp
$(srcdir)/version.texi
)
179 @cp
$(srcdir)/version.texi
$@
184 maintainer-clean-vti
:
185 -rm -f
$(srcdir)/stamp-vti
$(srcdir)/version.texi
187 automake.
info: automake.texi
$(srcdir)/version.texi
188 automake.
dvi: automake.texi
$(srcdir)/version.texi
191 @cd
$(srcdir) && rm -f
$@
$@
-[0-9] $@
-[0-9][0-9]
193 && $(MAKEINFO
) $(AM_MAKEINFOFLAGS
) $(MAKEINFOFLAGS
) \
194 `echo $< | sed 's,.*/,,'`
197 TEXINPUTS
="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
198 MAKEINFO
='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
202 @cd
$(srcdir) && rm -f
$@
$@
-[0-9] $@
-[0-9][0-9]
204 && $(MAKEINFO
) $(AM_MAKEINFOFLAGS
) $(MAKEINFOFLAGS
) \
205 `echo $< | sed 's,.*/,,'`
207 MAKEINFO
= @MAKEINFO@
215 @if
(install-info
--version
&& \
216 install-info
--version | fgrep
-i
-v debian
) >/dev
/null
2>&1; then \
217 list
='$(INFO_DEPS)'; \
218 for file in
$$list; do \
219 echo
" install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
220 install-info
--info-dir
=$(DESTDIR
)$(infodir) --remove
$(DESTDIR
)$(infodir)/$$file; \
224 @list
='$(INFO_DEPS)'; \
225 for file in
$$list; do \
226 (if cd
$(DESTDIR
)$(infodir); then \
227 echo
" rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
228 rm -f
$$file $$file-[0-9] $$file-[0-9][0-9]; \
232 dist-info
: $(INFO_DEPS
)
233 list
='$(INFO_DEPS)'; \
234 for base in
$$list; do \
236 for file in
$$d/$$base*; do \
237 relfile
=`expr "$$file" : "$$d/\(.*\)"`; \
238 test -f
$(distdir
)/$$relfile || \
239 cp
-p
$$file $(distdir
)/$$relfile; \
244 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
245 automake.
dvi automake.fn automake.ky automake.log automake.op \
246 automake.ov automake.pg automake.ps automake.tmp automake.toc \
247 automake.tp automake.tr automake.vr automake.vrs
249 maintainer-clean-aminfo
:
251 list
='$(INFO_DEPS)'; for i in
$$list; do \
253 if
test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
258 # This directory's subdirectories are mostly independent; you can cd
259 # into them and run `make' without going through this Makefile.
260 # To change the values of `make' variables: instead of editing Makefiles,
261 # (1) if the variable is set in `config.status', edit `config.status'
262 # (which will cause the Makefiles to be regenerated when you run `make');
263 # (2) otherwise, pass the desired values on the `make' command line.
264 $(RECURSIVE_TARGETS
):
265 @set fnord
$$MAKEFLAGS; amf
=$$2; \
267 target
=`echo $@ | sed s/-recursive//`; \
268 list
='$(SUBDIRS)'; for subdir in
$$list; do \
269 echo
"Making $$target in $$subdir"; \
270 if
test "$$subdir" = "."; then \
272 local_target
="$$target-am"; \
274 local_target
="$$target"; \
276 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
277 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
279 if
test "$$dot_seen" = "no"; then \
280 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
283 mostlyclean-recursive clean-recursive distclean-recursive \
284 maintainer-clean-recursive
:
285 @set fnord
$$MAKEFLAGS; amf
=$$2; \
288 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
289 *) list
='$(SUBDIRS)' ;; \
291 rev
=''; for subdir in
$$list; do \
292 if
test "$$subdir" = "."; then
:; else \
293 rev
="$$subdir $$rev"; \
297 target
=`echo $@ | sed s/-recursive//`; \
298 for subdir in
$$rev; do \
299 echo
"Making $$target in $$subdir"; \
300 if
test "$$subdir" = "."; then \
301 local_target
="$$target-am"; \
303 local_target
="$$target"; \
305 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
306 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
307 done
&& test -z
"$$fail"
309 list
='$(SUBDIRS)'; for subdir in
$$list; do \
310 test "$$subdir" = . ||
(cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
318 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
319 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
320 unique
=`for i in $$list; do \
321 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
323 $(AWK) ' { files[$$0] = 1; } \
324 END { for (i in files) print i; }'`; \
327 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
328 $(TAGS_FILES
) $(LISP
)
331 list
='$(SUBDIRS)'; for subdir in
$$list; do \
332 if
test "$$subdir" = .
; then
:; else \
333 test -f
$$subdir/TAGS
&& tags="$$tags -i $$here/$$subdir/TAGS"; \
336 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
337 unique
=`for i in $$list; do \
338 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
340 $(AWK) ' { files[$$0] = 1; } \
341 END { for (i in files) print i; }'`; \
342 test -z
"$(ETAGS_ARGS)$$tags$$unique" \
343 ||
$(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
347 here
=`$(am__cd) $(top_builddir) && pwd` \
348 && cd
$(top_srcdir
) \
349 && gtags
-i
$(GTAGS_ARGS
) $$here
352 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
353 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
356 distdir
= $(PACKAGE
)-$(VERSION
)
358 am__remove_distdir
= \
359 { test ! -d
$(distdir
) \
360 ||
{ find
$(distdir
) -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
361 && rm -fr
$(distdir
); }; }
364 distcleancheck_listfiles
= find .
-type f
-print
366 distdir
: $(DISTFILES
)
367 $(am__remove_distdir
)
369 $(mkinstalldirs
) $(distdir
)/.
$(distdir
)/m4
370 @list
='$(DISTFILES)'; for file in
$$list; do \
371 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
372 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
373 if
test "$$dir" != "$$file" && test "$$dir" != "."; then \
375 $(mkinstalldirs
) "$(distdir)$$dir"; \
379 if
test -d
$$d/$$file; then \
380 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
381 cp
-pR
$(srcdir)/$$file $(distdir
)$$dir || exit
1; \
383 cp
-pR
$$d/$$file $(distdir
)$$dir || exit
1; \
385 test -f
$(distdir
)/$$file \
386 || cp
-p
$$d/$$file $(distdir
)/$$file \
390 list
='$(SUBDIRS)'; for subdir in
$$list; do \
391 if
test "$$subdir" = .
; then
:; else \
392 test -d
$(distdir
)/$$subdir \
393 || mkdir
$(distdir
)/$$subdir \
396 $(MAKE
) $(AM_MAKEFLAGS
) \
397 top_distdir
="$(top_distdir)" \
398 distdir
=..
/$(distdir
)/$$subdir \
403 $(MAKE
) $(AM_MAKEFLAGS
) \
404 top_distdir
="${top_distdir}" distdir
="$(distdir)" \
406 -find
$(distdir
) -type d
! -perm
-777 -exec chmod a
+rwx
{} \
; -o \
407 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
408 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
409 ! -type d
! -perm
-444 -exec
$(SHELL
) $(install_sh
) -c
-m a
+r
{} {} \
; \
410 || chmod
-R a
+r
$(distdir
)
412 $(AMTAR
) chof
- $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
413 $(am__remove_distdir
)
416 $(AMTAR
) chof
- $(distdir
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
417 $(am__remove_distdir
)
419 dist dist-all
: distdir
420 $(AMTAR
) chof
- $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
421 $(AMTAR
) chof
- $(distdir
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
422 $(am__remove_distdir
)
424 # This target untars the dist file and tries a VPATH configuration. Then
425 # it guarantees that the distribution is self-contained by making another
428 $(am__remove_distdir
)
429 GZIP
=$(GZIP_ENV
) gunzip
-c
$(distdir
).
tar.gz |
$(AMTAR
) xf
-
430 chmod
-R a-w
$(distdir
); chmod a
+w
$(distdir
)
431 mkdir
$(distdir
)/=build
432 mkdir
$(distdir
)/=inst
434 dc_install_base
=`$(am__cd) $(distdir)/=inst && pwd` \
435 && cd
$(distdir
)/=build \
436 && ..
/configure
--srcdir=..
--prefix=$$dc_install_base \
437 $(DISTCHECK_CONFIGURE_FLAGS
) \
438 && $(MAKE
) $(AM_MAKEFLAGS
) \
439 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
440 && $(MAKE
) $(AM_MAKEFLAGS
) check \
441 && $(MAKE
) $(AM_MAKEFLAGS
) install \
442 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
443 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
444 && (test `find $$dc_install_base -type f -print | wc -l` -le
1 \
445 ||
{ echo
"ERROR: files left after uninstall:" ; \
446 find
$$dc_install_base -type f
-print ; \
448 && $(MAKE
) $(AM_MAKEFLAGS
) dist-gzip \
449 && rm -f
$(distdir
).
tar.gz \
450 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck
451 $(am__remove_distdir
)
452 @echo
"$(distdir).tar.gz is ready for distribution" | \
453 sed
'h;s/./=/g;p;x;p;x'
454 distcleancheck
: distclean
455 if
test '$(srcdir)' = .
; then \
456 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
459 test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
460 ||
{ echo
"ERROR: files left after distclean:" ; \
461 $(distcleancheck_listfiles
) ; \
464 check: check-recursive
465 all-am
: Makefile
$(INFO_DEPS
) $(SCRIPTS
)
466 installdirs: installdirs-recursive
468 $(mkinstalldirs
) $(DESTDIR
)$(bindir) $(DESTDIR
)$(infodir)
470 install: install-recursive
471 install-exec
: install-exec-recursive
472 install-data
: install-data-recursive
473 uninstall: uninstall-recursive
476 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
478 installcheck: installcheck-recursive
480 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
481 INSTALL_STRIP_FLAG
=-s \
482 `test -z '$(STRIP)' || \
483 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
489 -rm -f Makefile
$(CONFIG_CLEAN_FILES
)
491 maintainer-clean-generic
:
492 @echo
"This command is intended for maintainers to use"
493 @echo
"it deletes files that may require special tools to rebuild."
494 clean: clean-recursive
496 clean-am
: clean-generic mostlyclean-am
498 distclean: distclean-recursive
499 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
500 distclean-am
: clean-am distclean-generic distclean-tags
508 info-am
: $(INFO_DEPS
)
510 install-data-am
: install-info-am
512 install-exec-am
: install-binSCRIPTS
514 $(MAKE
) $(AM_MAKEFLAGS
) install-exec-hook
516 install-info
: install-info-recursive
518 install-info-am
: $(INFO_DEPS
)
520 $(mkinstalldirs
) $(DESTDIR
)$(infodir)
521 @list
='$(INFO_DEPS)'; \
522 for file in
$$list; do \
524 for ifile in echo
$$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
525 if
test -f
$$ifile; then \
526 relfile
=`expr "$$ifile" : "$$d/\(.*\)"`; \
527 echo
" $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
528 $(INSTALL_DATA
) $$ifile $(DESTDIR
)$(infodir)/$$relfile; \
533 @if
(install-info
--version
&& \
534 install-info
--version | fgrep
-i
-v debian
) >/dev
/null
2>&1; then \
535 list
='$(INFO_DEPS)'; \
536 for file in
$$list; do \
537 echo
" install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
538 install-info
--info-dir
=$(DESTDIR
)$(infodir) $(DESTDIR
)$(infodir)/$$file ||
:;\
545 maintainer-clean
: maintainer-clean-recursive
546 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
547 -rm -rf autom4te.cache
548 maintainer-clean-am
: distclean-am maintainer-clean-aminfo \
549 maintainer-clean-generic maintainer-clean-vti
551 mostlyclean: mostlyclean-recursive
553 mostlyclean-am
: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
555 uninstall-am
: uninstall-binSCRIPTS uninstall-info-am
557 $(MAKE
) $(AM_MAKEFLAGS
) uninstall-hook
559 uninstall-info
: uninstall-info-recursive
561 .PHONY
: $(RECURSIVE_TARGETS
) GTAGS
all all-am
check check-am
clean \
562 clean-generic clean-recursive
dist dist-all dist-bzip2 \
563 dist-gzip dist-info distcheck
distclean distclean-generic \
564 distclean-recursive distclean-tags distcleancheck distdir
dvi \
565 dvi-am dvi-recursive
info info-am info-recursive
install \
566 install-am install-binSCRIPTS install-data install-data-am \
567 install-data-recursive install-exec install-exec-am \
568 install-exec-recursive install-info install-info-am \
569 install-info-recursive install-man install-recursive \
570 install-strip
installcheck installcheck-am
installdirs \
571 installdirs-am installdirs-recursive maintainer-clean \
572 maintainer-clean-aminfo maintainer-clean-generic \
573 maintainer-clean-recursive maintainer-clean-vti
mostlyclean \
574 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
575 mostlyclean-vti
tags tags-recursive
uninstall uninstall-am \
576 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
582 @for p in
$(bin_SCRIPTS
); do \
583 f
="`echo $$p|sed '$(transform)'`"; \
584 fv
="$$f-$(APIVERSION)"; \
585 rm -f
$(DESTDIR
)$(bindir)/$$fv; \
586 echo
" $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
587 $(LN
) $(DESTDIR
)$(bindir)/$$f $(DESTDIR
)$(bindir)/$$fv; \
591 @for p in
$(bin_SCRIPTS
); do \
592 f
="`echo $$p|sed '$(transform)'`"; \
593 fv
="$$f-$(APIVERSION)"; \
594 rm -f
$(DESTDIR
)$(bindir)/$$fv; \
597 ################################################################
599 # Some simple checks, and then ordinary check. These are only really
600 # guaranteed to work on my machine.
601 maintainer-check
: automake aclocal
602 @if
test `diff $(srcdir)/automake.in automake | wc -l` -ne
28; then \
603 echo
"found too many diffs between automake.in and automake"; 1>&2; \
604 diff
-c
$(srcdir)/automake.in automake
; \
607 perllibdir
=$(srcdir)/lib
$(PERL
) -c
-w automake
608 perllibdir
=$(srcdir)/lib
$(PERL
) -c
-w aclocal
609 @if fgrep
'\$${' $(srcdir)/lib
/am
/[a-z
]*.am | \
610 fgrep
-v
'$$$$'; then \
611 echo
"Found too many uses of '\$${' in the lines above." 1>&2; \
614 @if egrep
'\<rm ([^-]|\-[^f ]*\>)' \
615 $(srcdir)/lib
/am
/[a-z
]*.am
$(srcdir)/tests
/*.
test | \
616 fgrep
-v
'##'; then \
617 echo
"Suspicious 'rm' invocation." 1>&2; \
620 @if egrep
'for .* in \$$\(' $(srcdir)/lib
/am
/[a-z
]*.am
; then \
621 echo
'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
624 @if fgrep
-n
'mkinstalldirs' $(srcdir)/lib
/am
/[a-z
]*.am | \
625 fgrep
-v
'$$(mkinstalldirs)'; then \
626 echo
"Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
629 @if grep
-n
-w
'undef ' $(srcdir)/automake.in | \
630 fgrep
-v
'undef $$/'; then \
631 echo
"Found undef in automake.in; use delete instead" 1>&2; \
634 @if fgrep
-n
'split (/ /' $(srcdir)/automake.in
; then \
635 echo
"Found bad split in the lines above." 1>&2; \
638 @if grep
-n
'^[^#]*` *cd ' $(srcdir)/automake.in \
639 $(srcdir)/lib
/am
/*.am
; then \
640 echo
"Consider using $$$$(am__cd) in the line above." 1>&2; \
643 @if grep
-Hn
'[^) ] *= *@_' $(srcdir)/automake.in
; then \
644 echo
"Using @_ in a scalar context in the lines above." 1>&2; \
647 @if grep
'^[ \t]*local *(' $(srcdir)/automake.in
; then \
648 echo
"Don't use \`local' with parens: use several \`local' above." >&2; \
651 @locals
=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
652 grep -c '^[ \t]*local [^*]'`; \
655 echo
"Wow, congrats! There are no \`local' now!." >&2; \
656 echo
"Please update Makefile.am (maintainer-check)." >&2; \
661 echo
"Too many \`local'! Are you sure you need $$locals of them?" >&2; \
662 echo
"Up to now 1 was enough." >&2; \
666 @if grep
'@AMDEP''_TRUE@' $(srcdir)/automake.in
; then \
667 echo
"Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
670 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*make'; then \
671 echo
'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
674 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*autoconf'; then \
675 echo
'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
678 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*automake'; then \
679 echo
'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
682 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*aclocal'; then \
683 echo
'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
686 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*perl'; then \
687 echo
'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
690 @if egrep
'\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests
/*.
test; then \
691 echo
'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
692 echo
' in the above lines, it is more portable.' 1>&2; \
695 @if grep
-v SHELL
$(srcdir)/tests
/*.
test | grep
'\$$MAKE .*=' ; then \
696 echo
'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
697 echo
'it is more portable.' 1>&2; \
700 @if grep
'$$MAKE.* -e' $(srcdir)/tests
/*.
test | grep
-v
'-e.*SHELL' ; then \
701 echo
'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
702 echo
'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
705 @if egrep
'SHELL=.*\$$MAKE' $(srcdir)/tests
/*.
test; then \
706 echo
'$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
707 echo
'the above lines.' 1>&2; \
710 @if egrep
'\bsleep +1\b' $(srcdir)/tests
/*.
test; then \
711 echo
'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
715 # Tag before making distribution. Also, don't make a distribution if
716 # checks fail. Also, make sure the NEWS file is up-to-date.
717 cvs-dist
: maintainer-check distcheck
718 @if sed
1q
$(srcdir)/NEWS | grep
-e
"$(VERSION)" > /dev
/null
; then
:; else \
719 echo
"NEWS not updated; not releasing" 1>&2; \
722 cd
$(srcdir) && cvs
-q tag
`echo "Release-$(VERSION)" | sed 's/\./-/g'`
726 thisver
=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
727 if
test -z
"$$OLDVERSION"; then \
728 prevno
=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
729 else prevno
="$$OLDVERSION"; fi
; \
730 prevver
=Release-
`echo $$prevno | sed 's/\./-/g'`; \
731 cvs
-f rdiff
-c
-r
$$prevver -r
$$thisver $(PACKAGE
) \
732 > $(PACKAGE
)-$$prevno-$(VERSION
).diff
736 find .
-print | xargs pathchk
-p
); \
738 chmod
-R a
+w
$(distdir
) > /dev
/null
2>&1; rm -rf
$(distdir
); \
742 rm -rf Fetchdir
> /dev
/null
2>&1
743 mkdir Fetchdir
; mkdir Fetchdir
/Automake
745 $(WGET
) ftp
://ftp.gnu.org
/gnu
/config
/config.guess
; \
746 $(WGET
) ftp
://ftp.gnu.org
/gnu
/config
/config.sub
; \
747 $(WGET
) ftp
://ftp.gnu.org
/gnu
/texinfo
/texinfo.
tex; \
748 $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/autoconf
/autoconf
/lib
/Autom4te
/XFile.pm?content-type
=text
/plain
-O Automake
/XFile.pm
; \
749 $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/autoconf
/autoconf
/config
/install-sh?content-type
=text
/plain
-O install-sh
; \
750 $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/autoconf
/autoconf
/INSTALL?content-type
=text
/plain
-O INSTALL
)
751 perl
-pi
-e
's/Autom4te::/Automake::/g' Fetchdir
/Automake
/XFile.pm
752 @stat
=0; for file in
$(FETCHFILES
); do \
753 if diff
-u
$(srcdir)/lib
/$$file Fetchdir
/$$file \
754 >>Fetchdir
/update.patch
2>/dev
/null
; then
:; \
757 echo
"Updating $(srcdir)/lib/$$file..."; \
758 cp Fetchdir
/$$file $(srcdir)/lib
/$$file; \
762 echo
"See Fetchdir/update.patch for a log of the changes."; \
764 # Tell versions [3.59,3.63) of GNU make to not export all variables.
765 # Otherwise a system limit (for SysV at least) may be exceeded.