* NEWS: Catch up with changes since 1.6.2.
[automake.git] / Makefile.in
blob49bd66e07ddc32e6f01dddf593a7aaa34e954cfa
1 # Makefile.in generated by automake 1.6.2a from Makefile.am.
2 # @configure_input@
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
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
16 SHELL = @SHELL@
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39 top_builddir = .
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
47 INSTALL = @INSTALL@
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@
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
63 EXEEXT = @EXEEXT@
64 OBJEXT = @OBJEXT@
65 PATH_SEPARATOR = @PATH_SEPARATOR@
66 AMTAR = @AMTAR@
67 APIVERSION = @APIVERSION@
68 AWK = @AWK@
69 DEPDIR = @DEPDIR@
70 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
71 LN = @LN@
72 PACKAGE = @PACKAGE@
73 PERL = @PERL@
74 STRIP = @STRIP@
75 VERSION = @VERSION@
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
96 WGET = wget
98 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL \
99 install-sh
101 subdir = .
102 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
103 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
104 CONFIG_CLEAN_FILES = automake aclocal
105 SCRIPTS = $(bin_SCRIPTS)
107 DIST_SOURCES =
108 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
109 INFO_DEPS = automake.info
110 DVIS = automake.dvi
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)
122 all: all-recursive
124 .SUFFIXES:
125 .SUFFIXES: .dvi .info .ps .texi
127 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
128 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
129 cd $(top_srcdir) && \
130 $(AUTOMAKE) --gnu Makefile
131 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
132 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
134 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
135 $(SHELL) ./config.status --recheck
136 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
137 cd $(srcdir) && $(AUTOCONF)
139 $(ACLOCAL_M4): configure.in
140 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
141 automake: $(top_builddir)/config.status automake.in
142 cd $(top_builddir) && $(SHELL) ./config.status $@
143 aclocal: $(top_builddir)/config.status aclocal.in
144 cd $(top_builddir) && $(SHELL) ./config.status $@
145 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
146 install-binSCRIPTS: $(bin_SCRIPTS)
147 @$(NORMAL_INSTALL)
148 $(mkinstalldirs) $(DESTDIR)$(bindir)
149 @list='$(bin_SCRIPTS)'; for p in $$list; do \
150 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
151 if test -f $$d$$p; then \
152 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
153 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
154 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
155 else :; fi; \
156 done
158 uninstall-binSCRIPTS:
159 @$(NORMAL_UNINSTALL)
160 @list='$(bin_SCRIPTS)'; for p in $$list; do \
161 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
162 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
163 rm -f $(DESTDIR)$(bindir)/$$f; \
164 done
166 $(srcdir)/version.texi: $(srcdir)/stamp-vti
168 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
169 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
170 echo "@set UPDATED $$1 $$2 $$3"; \
171 echo "@set UPDATED-MONTH $$2 $$3"; \
172 echo "@set EDITION $(VERSION)"; \
173 echo "@set VERSION $(VERSION)") > vti.tmp
174 @cmp -s vti.tmp $(srcdir)/version.texi \
175 || (echo "Updating $(srcdir)/version.texi"; \
176 cp vti.tmp $(srcdir)/version.texi)
177 -@rm -f vti.tmp
178 @cp $(srcdir)/version.texi $@
180 mostlyclean-vti:
181 -rm -f vti.tmp
183 maintainer-clean-vti:
184 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
186 automake.info: automake.texi $(srcdir)/version.texi
187 automake.dvi: automake.texi $(srcdir)/version.texi
189 .texi.info:
190 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
191 cd $(srcdir) \
192 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
193 `echo $< | sed 's,.*/,,'`
195 .texi.dvi:
196 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
197 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
198 $(TEXI2DVI) $<
200 .texi:
201 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
202 cd $(srcdir) \
203 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
204 `echo $< | sed 's,.*/,,'`
206 MAKEINFO = @MAKEINFO@
207 TEXI2DVI = texi2dvi
208 DVIPS = dvips
209 .dvi.ps:
210 $(DVIPS) $< -o $@
212 uninstall-info-am:
213 $(PRE_UNINSTALL)
214 @if (install-info --version && \
215 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
216 list='$(INFO_DEPS)'; \
217 for file in $$list; do \
218 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
219 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
220 done; \
221 else :; fi
222 @$(NORMAL_UNINSTALL)
223 @list='$(INFO_DEPS)'; \
224 for file in $$list; do \
225 (if cd $(DESTDIR)$(infodir); then \
226 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
227 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
228 else :; fi); \
229 done
231 dist-info: $(INFO_DEPS)
232 list='$(INFO_DEPS)'; \
233 for base in $$list; do \
234 d=$(srcdir); \
235 for file in $$d/$$base*; do \
236 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
237 test -f $(distdir)/$$relfile || \
238 cp -p $$file $(distdir)/$$relfile; \
239 done; \
240 done
242 mostlyclean-aminfo:
243 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
244 automake.dvi automake.fn automake.ky automake.log automake.op \
245 automake.ov automake.pg automake.ps automake.tmp automake.toc \
246 automake.tp automake.tr automake.vr automake.vrs
248 maintainer-clean-aminfo:
249 cd $(srcdir) && \
250 list='$(INFO_DEPS)'; for i in $$list; do \
251 rm -f $$i; \
252 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
253 rm -f $$i-[0-9]*; \
254 fi; \
255 done
257 # This directory's subdirectories are mostly independent; you can cd
258 # into them and run `make' without going through this Makefile.
259 # To change the values of `make' variables: instead of editing Makefiles,
260 # (1) if the variable is set in `config.status', edit `config.status'
261 # (which will cause the Makefiles to be regenerated when you run `make');
262 # (2) otherwise, pass the desired values on the `make' command line.
263 $(RECURSIVE_TARGETS):
264 @set fnord $$MAKEFLAGS; amf=$$2; \
265 dot_seen=no; \
266 target=`echo $@ | sed s/-recursive//`; \
267 list='$(SUBDIRS)'; for subdir in $$list; do \
268 echo "Making $$target in $$subdir"; \
269 if test "$$subdir" = "."; then \
270 dot_seen=yes; \
271 local_target="$$target-am"; \
272 else \
273 local_target="$$target"; \
274 fi; \
275 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
276 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
277 done; \
278 if test "$$dot_seen" = "no"; then \
279 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
280 fi; test -z "$$fail"
282 mostlyclean-recursive clean-recursive distclean-recursive \
283 maintainer-clean-recursive:
284 @set fnord $$MAKEFLAGS; amf=$$2; \
285 dot_seen=no; \
286 case "$@" in \
287 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
288 *) list='$(SUBDIRS)' ;; \
289 esac; \
290 rev=''; for subdir in $$list; do \
291 if test "$$subdir" = "."; then :; else \
292 rev="$$subdir $$rev"; \
293 fi; \
294 done; \
295 rev="$$rev ."; \
296 target=`echo $@ | sed s/-recursive//`; \
297 for subdir in $$rev; do \
298 echo "Making $$target in $$subdir"; \
299 if test "$$subdir" = "."; then \
300 local_target="$$target-am"; \
301 else \
302 local_target="$$target"; \
303 fi; \
304 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
305 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
306 done && test -z "$$fail"
307 tags-recursive:
308 list='$(SUBDIRS)'; for subdir in $$list; do \
309 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
310 done
312 ETAGS = etags
313 ETAGSFLAGS =
315 tags: TAGS
317 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
318 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
319 unique=`for i in $$list; do \
320 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
321 done | \
322 $(AWK) ' { files[$$0] = 1; } \
323 END { for (i in files) print i; }'`; \
324 mkid -fID $$unique
326 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
327 $(TAGS_FILES) $(LISP)
328 tags=; \
329 here=`pwd`; \
330 list='$(SUBDIRS)'; for subdir in $$list; do \
331 if test "$$subdir" = .; then :; else \
332 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
333 fi; \
334 done; \
335 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336 unique=`for i in $$list; do \
337 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
338 done | \
339 $(AWK) ' { files[$$0] = 1; } \
340 END { for (i in files) print i; }'`; \
341 test -z "$(ETAGS_ARGS)$$tags$$unique" \
342 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
343 $$tags $$unique
345 GTAGS:
346 here=`$(am__cd) $(top_builddir) && pwd` \
347 && cd $(top_srcdir) \
348 && gtags -i $(GTAGS_ARGS) $$here
350 distclean-tags:
351 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
352 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
354 top_distdir = .
355 distdir = $(PACKAGE)-$(VERSION)
357 am__remove_distdir = \
358 { test ! -d $(distdir) \
359 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
360 && rm -fr $(distdir); }; }
362 GZIP_ENV = --best
363 distcleancheck_listfiles = find . -type f -print
365 distdir: $(DISTFILES)
366 $(am__remove_distdir)
367 mkdir $(distdir)
368 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
369 @list='$(DISTFILES)'; for file in $$list; do \
370 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
371 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
372 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
373 dir="/$$dir"; \
374 $(mkinstalldirs) "$(distdir)$$dir"; \
375 else \
376 dir=''; \
377 fi; \
378 if test -d $$d/$$file; then \
379 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
380 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
381 fi; \
382 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
383 else \
384 test -f $(distdir)/$$file \
385 || cp -p $$d/$$file $(distdir)/$$file \
386 || exit 1; \
387 fi; \
388 done
389 list='$(SUBDIRS)'; for subdir in $$list; do \
390 if test "$$subdir" = .; then :; else \
391 test -d $(distdir)/$$subdir \
392 || mkdir $(distdir)/$$subdir \
393 || exit 1; \
394 (cd $$subdir && \
395 $(MAKE) $(AM_MAKEFLAGS) \
396 top_distdir="$(top_distdir)" \
397 distdir=../$(distdir)/$$subdir \
398 distdir) \
399 || exit 1; \
400 fi; \
401 done
402 $(MAKE) $(AM_MAKEFLAGS) \
403 top_distdir="${top_distdir}" distdir="$(distdir)" \
404 dist-info
405 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
406 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
407 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
408 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
409 || chmod -R a+r $(distdir)
410 dist-gzip: distdir
411 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
412 $(am__remove_distdir)
414 dist-bzip2: distdir
415 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
416 $(am__remove_distdir)
418 dist dist-all: distdir
419 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
420 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
421 $(am__remove_distdir)
423 # This target untars the dist file and tries a VPATH configuration. Then
424 # it guarantees that the distribution is self-contained by making another
425 # tarfile.
426 distcheck: dist
427 $(am__remove_distdir)
428 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
429 chmod -R a-w $(distdir); chmod a+w $(distdir)
430 mkdir $(distdir)/=build
431 mkdir $(distdir)/=inst
432 chmod a-w $(distdir)
433 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
434 && cd $(distdir)/=build \
435 && ../configure --srcdir=.. --prefix=$$dc_install_base \
436 $(DISTCHECK_CONFIGURE_FLAGS) \
437 && $(MAKE) $(AM_MAKEFLAGS) \
438 && $(MAKE) $(AM_MAKEFLAGS) dvi \
439 && $(MAKE) $(AM_MAKEFLAGS) check \
440 && $(MAKE) $(AM_MAKEFLAGS) install \
441 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
442 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
443 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
444 || { echo "ERROR: files left after uninstall:" ; \
445 find $$dc_install_base -type f -print ; \
446 exit 1; } >&2 ) \
447 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
448 && rm -f $(distdir).tar.gz \
449 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
450 $(am__remove_distdir)
451 @echo "$(distdir).tar.gz is ready for distribution" | \
452 sed 'h;s/./=/g;p;x;p;x'
453 distcleancheck: distclean
454 if test '$(srcdir)' = . ; then \
455 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
456 exit 1 ; \
458 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
459 || { echo "ERROR: files left after distclean:" ; \
460 $(distcleancheck_listfiles) ; \
461 exit 1; } >&2
462 check-am: all-am
463 check: check-recursive
464 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
465 installdirs: installdirs-recursive
466 installdirs-am:
467 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
469 install: install-recursive
470 install-exec: install-exec-recursive
471 install-data: install-data-recursive
472 uninstall: uninstall-recursive
474 install-am: all-am
475 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
477 installcheck: installcheck-recursive
478 install-strip:
479 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
480 INSTALL_STRIP_FLAG=-s \
481 `test -z '$(STRIP)' || \
482 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
483 mostlyclean-generic:
485 clean-generic:
487 distclean-generic:
488 -rm -f Makefile $(CONFIG_CLEAN_FILES)
490 maintainer-clean-generic:
491 @echo "This command is intended for maintainers to use"
492 @echo "it deletes files that may require special tools to rebuild."
493 clean: clean-recursive
495 clean-am: clean-generic mostlyclean-am
497 distclean: distclean-recursive
498 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
499 distclean-am: clean-am distclean-generic distclean-tags
501 dvi: dvi-recursive
503 dvi-am: $(DVIS)
505 info: info-recursive
507 info-am: $(INFO_DEPS)
509 install-data-am: install-info-am
511 install-exec-am: install-binSCRIPTS
512 @$(NORMAL_INSTALL)
513 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
515 install-info: install-info-recursive
517 install-info-am: $(INFO_DEPS)
518 @$(NORMAL_INSTALL)
519 $(mkinstalldirs) $(DESTDIR)$(infodir)
520 @list='$(INFO_DEPS)'; \
521 for file in $$list; do \
522 d=$(srcdir); \
523 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
524 if test -f $$ifile; then \
525 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
526 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
527 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
528 else : ; fi; \
529 done; \
530 done
531 @$(POST_INSTALL)
532 @if (install-info --version && \
533 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
534 list='$(INFO_DEPS)'; \
535 for file in $$list; do \
536 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
537 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
538 done; \
539 else : ; fi
540 install-man:
542 installcheck-am:
544 maintainer-clean: maintainer-clean-recursive
545 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
546 -rm -rf autom4te.cache
547 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
548 maintainer-clean-generic maintainer-clean-vti
550 mostlyclean: mostlyclean-recursive
552 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
554 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
555 @$(NORMAL_INSTALL)
556 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
558 uninstall-info: uninstall-info-recursive
560 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
561 clean-generic clean-recursive dist dist-all dist-bzip2 \
562 dist-gzip dist-info distcheck distclean distclean-generic \
563 distclean-recursive distclean-tags distcleancheck distdir dvi \
564 dvi-am dvi-recursive info info-am info-recursive install \
565 install-am install-binSCRIPTS install-data install-data-am \
566 install-data-recursive install-exec install-exec-am \
567 install-exec-recursive install-info install-info-am \
568 install-info-recursive install-man install-recursive \
569 install-strip installcheck installcheck-am installdirs \
570 installdirs-am installdirs-recursive maintainer-clean \
571 maintainer-clean-aminfo maintainer-clean-generic \
572 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
573 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
574 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
575 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
576 uninstall-recursive
579 install-exec-hook:
580 @$(POST_INSTALL)
581 @for p in $(bin_SCRIPTS); do \
582 f="`echo $$p|sed '$(transform)'`"; \
583 fv="$$f-$(APIVERSION)"; \
584 rm -f $(DESTDIR)$(bindir)/$$fv; \
585 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
586 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
587 done
589 uninstall-hook:
590 @for p in $(bin_SCRIPTS); do \
591 f="`echo $$p|sed '$(transform)'`"; \
592 fv="$$f-$(APIVERSION)"; \
593 rm -f $(DESTDIR)$(bindir)/$$fv; \
594 done
596 ################################################################
598 # Some simple checks, and then ordinary check. These are only really
599 # guaranteed to work on my machine.
600 maintainer-check: automake aclocal
601 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
602 echo "found too many diffs between automake.in and automake"; 1>&2; \
603 diff -c $(srcdir)/automake.in automake; \
604 exit 1; \
606 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
607 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
608 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
609 fgrep -v '$$$$'; then \
610 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
611 exit 1; \
612 else :; fi
613 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
614 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
615 fgrep -v '##'; then \
616 echo "Suspicious 'rm' invocation." 1>&2; \
617 exit 1; \
618 else :; fi
619 @if egrep 'for .* in \$$\(' $(srcdir)/lib/am/[a-z]*.am; then \
620 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
621 exit 1; \
622 else :; fi
623 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
624 fgrep -v '$$(mkinstalldirs)'; then \
625 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
626 exit 1; \
627 else :; fi
628 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
629 fgrep -v 'undef $$/'; then \
630 echo "Found undef in automake.in; use delete instead" 1>&2; \
631 exit 1; \
633 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
634 echo "Found bad split in the lines above." 1>&2; \
635 exit 1; \
637 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
638 $(srcdir)/lib/am/*.am; then \
639 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
640 exit 1; \
642 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
643 echo "Using @_ in a scalar context in the lines above." 1>&2; \
644 exit 1; \
646 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
647 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
648 exit 1; \
650 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
651 grep -c '^[ \t]*local [^*]'`; \
652 case $$locals in \
653 [0] ) \
654 echo "Wow, congrats! There are no \`local' now!." >&2; \
655 echo "Please update Makefile.am (maintainer-check)." >&2; \
656 exit 1; \
657 ;; \
658 1 ) ;; \
659 * ) \
660 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
661 echo "Up to now 1 was enough." >&2; \
662 exit 1; \
663 ;; \
664 esac
665 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
666 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
667 exit 1; \
669 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*make'; then \
670 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
671 exit 1; \
673 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*autoconf'; then \
674 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
675 exit 1; \
677 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*automake'; then \
678 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
679 exit 1; \
681 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*aclocal'; then \
682 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
683 exit 1; \
685 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*perl'; then \
686 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
687 exit 1; \
689 @if egrep '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
690 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
691 echo ' in the above lines, it is more portable.' 1>&2; \
692 exit 1; \
694 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
695 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
696 echo 'it is more portable.' 1>&2; \
697 exit 1; \
699 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
700 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
701 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
702 exit 1; \
704 @if egrep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
705 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
706 echo 'the above lines.' 1>&2; \
707 exit 1; \
709 @if egrep '\bsleep +1\b' $(srcdir)/tests/*.test; then \
710 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
711 exit 1; \
714 # Tag before making distribution. Also, don't make a distribution if
715 # checks fail. Also, make sure the NEWS file is up-to-date.
716 cvs-dist: maintainer-check distcheck
717 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
718 echo "NEWS not updated; not releasing" 1>&2; \
719 exit 1; \
721 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
722 $(MAKE) dist
724 cvs-diff:
725 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
726 if test -z "$$OLDVERSION"; then \
727 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
728 else prevno="$$OLDVERSION"; fi; \
729 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
730 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
731 > $(PACKAGE)-$$prevno-$(VERSION).diff
733 path-check: distdir
734 (cd $(distdir) && \
735 find . -print | xargs pathchk -p); \
736 status=$$?; \
737 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
738 exit $$status
740 fetch:
741 rm -rf Fetchdir > /dev/null 2>&1
742 mkdir Fetchdir; mkdir Fetchdir/Automake
743 (cd Fetchdir && \
744 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
745 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
746 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
747 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
748 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/config/install-sh?content-type=text/plain -O install-sh; \
749 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
750 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
751 @stat=0; for file in $(FETCHFILES); do \
752 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
753 >>Fetchdir/update.patch 2>/dev/null; then :; \
754 else \
755 stat=1; \
756 echo "Updating $(srcdir)/lib/$$file..."; \
757 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
758 fi; \
759 done; \
760 test $$stat = 1 && \
761 echo "See Fetchdir/update.patch for a log of the changes."; \
762 exit $$stat
763 # Tell versions [3.59,3.63) of GNU make to not export all variables.
764 # Otherwise a system limit (for SysV at least) may be exceeded.
765 .NOEXPORT: