2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
[automake.git] / Makefile.in
blob14019523118cfac9eae22aa9f6b30a581da8e18d
1 # Makefile.in generated automatically by automake 1.4h 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
12 # PARTICULAR PURPOSE.
14 @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 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 INSTALL_HEADER = $(INSTALL_DATA)
51 transform = @program_transform_name@
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
58 AMTAR = @AMTAR@
59 AWK = @AWK@
60 DEPDIR = @DEPDIR@
61 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
62 PACKAGE = @PACKAGE@
63 PERL = @PERL@
64 VERSION = @VERSION@
65 _am_include = @_am_include@
66 _am_quote = @_am_quote@
67 install_sh = @install_sh@
69 AUTOMAKE_OPTIONS = 1.4 dist-bzip2
71 SUBDIRS = . m4 lib tests
73 bin_SCRIPTS = automake aclocal
74 info_TEXINFOS = automake.texi
76 TAGS_FILES = automake.in aclocal.in
78 # The following requires a fixed version of the Emacs 19.30 etags.
79 ETAGS_ARGS = --lang=none \
80 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
82 TAGS_DEPENDENCIES = automake.texi
84 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000
86 WGET = wget
88 FETCHFILES = config.guess config.sub ansi2knr.c
89 EXEEXT =
90 OBJEXT = o
91 subdir = .
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
94 CONFIG_CLEAN_FILES = automake aclocal
95 SCRIPTS = $(bin_SCRIPTS)
97 DIST_SOURCES =
98 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
99 INFO_DEPS = automake.info
100 DVIS = automake.dvi
101 TEXINFOS = automake.texi
103 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
104 uninstall-info-recursive all-recursive install-data-recursive \
105 install-exec-recursive installdirs-recursive install-recursive \
106 uninstall-recursive check-recursive installcheck-recursive
107 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
108 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
109 configure configure.in install-sh mdate-sh missing \
110 mkinstalldirs stamp-vti version.texi
111 DIST_SUBDIRS = $(SUBDIRS)
112 all: all-recursive
114 .SUFFIXES:
115 .SUFFIXES: .dvi .info .ps .texi
116 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
117 cd $(top_srcdir) && \
118 $(AUTOMAKE) --gnu Makefile
119 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
120 cd $(top_builddir) && \
121 CONFIG_HEADERS= CONFIG_LINKS= \
122 CONFIG_FILES=$@ $(SHELL) ./config.status
124 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
125 $(SHELL) ./config.status --recheck
126 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
127 cd $(srcdir) && $(AUTOCONF)
129 $(ACLOCAL_M4): configure.in
130 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
131 automake: $(top_builddir)/config.status automake.in
132 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
133 aclocal: $(top_builddir)/config.status aclocal.in
134 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
135 install-binSCRIPTS: $(bin_SCRIPTS)
136 @$(NORMAL_INSTALL)
137 $(mkinstalldirs) $(DESTDIR)$(bindir)
138 @list='$(bin_SCRIPTS)'; for p in $$list; do \
139 f="`echo $$p|sed '$(transform)'`"; \
140 if test -f $$p; then \
141 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
142 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
143 elif test -f $(srcdir)/$$p; then \
144 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
145 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
146 else :; fi; \
147 done
149 uninstall-binSCRIPTS:
150 @$(NORMAL_UNINSTALL)
151 @list='$(bin_SCRIPTS)'; for p in $$list; do \
152 f="`echo $$p|sed '$(transform)'`"; \
153 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
154 rm -f $(DESTDIR)$(bindir)/$$f; \
155 done
157 $(srcdir)/version.texi: $(srcdir)/stamp-vti
159 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
160 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
161 echo "@set UPDATED $$1 $$2 $$3"; \
162 echo "@set UPDATED-MONTH $$2 $$3"; \
163 echo "@set EDITION $(VERSION)"; \
164 echo "@set VERSION $(VERSION)") > vti.tmp
165 @cmp -s vti.tmp $(srcdir)/version.texi \
166 || (echo "Updating $(srcdir)/version.texi"; \
167 cp vti.tmp $(srcdir)/version.texi)
168 -@rm -f vti.tmp
169 @cp $(srcdir)/version.texi $@
171 mostlyclean-vti:
172 -rm -f vti.tmp
174 maintainer-clean-vti:
175 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
177 automake.info: automake.texi $(srcdir)/version.texi
178 automake.dvi: automake.texi $(srcdir)/version.texi
180 .texi.info:
181 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
182 cd $(srcdir) \
183 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
184 `echo $< | sed 's,.*/,,'`
186 .texi.dvi:
187 TEXINPUTS=$(top_srcdir)/lib:$$TEXINPUTS \
188 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
189 $(TEXI2DVI) $<
191 .texi:
192 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
193 cd $(srcdir) \
194 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
195 `echo $< | sed 's,.*/,,'`
197 MAKEINFO = @MAKEINFO@
198 TEXI2DVI = texi2dvi
199 DVIPS = dvips
200 .dvi.ps:
201 $(DVIPS) $< -o $@
203 uninstall-info-am:
204 $(PRE_UNINSTALL)
205 @if (install-info --version && \
206 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
207 list='$(INFO_DEPS)'; \
208 for file in $$list; do \
209 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
210 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
211 done; \
212 else :; fi
213 @$(NORMAL_UNINSTALL)
214 @list='$(INFO_DEPS)'; \
215 for file in $$list; do \
216 (if cd $(DESTDIR)$(infodir); then \
217 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
218 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
219 else :; fi); \
220 done
222 dist-info: $(INFO_DEPS)
223 list='$(INFO_DEPS)'; \
224 for base in $$list; do \
225 d=$(srcdir); \
226 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
227 test -f $(distdir)/$$file \
228 || cp -p $$d/$$file $(distdir)/$$file; \
229 done; \
230 done
232 mostlyclean-aminfo:
233 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
234 automake.dvi automake.fn automake.ky automake.log automake.op \
235 automake.ov automake.pg automake.ps automake.toc automake.tp \
236 automake.tr automake.vr automake.vrs
238 maintainer-clean-aminfo:
239 cd $(srcdir) && \
240 for i in $(INFO_DEPS); do \
241 rm -f $$i; \
242 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
243 rm -f $$i-[0-9]*; \
244 fi; \
245 done
247 # This directory's subdirectories are mostly independent; you can cd
248 # into them and run `make' without going through this Makefile.
249 # To change the values of `make' variables: instead of editing Makefiles,
250 # (1) if the variable is set in `config.status', edit `config.status'
251 # (which will cause the Makefiles to be regenerated when you run `make');
252 # (2) otherwise, pass the desired values on the `make' command line.
253 $(RECURSIVE_TARGETS):
254 @set fnord $(MAKEFLAGS); amf=$$2; \
255 dot_seen=no; \
256 target=`echo $@ | sed s/-recursive//`; \
257 list='$(SUBDIRS)'; for subdir in $$list; do \
258 echo "Making $$target in $$subdir"; \
259 if test "$$subdir" = "."; then \
260 dot_seen=yes; \
261 local_target="$$target-am"; \
262 else \
263 local_target="$$target"; \
264 fi; \
265 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
266 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
267 done; \
268 if test "$$dot_seen" = "no"; then \
269 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
270 fi; test -z "$$fail"
272 mostlyclean-recursive clean-recursive distclean-recursive \
273 maintainer-clean-recursive:
274 @set fnord $(MAKEFLAGS); amf=$$2; \
275 dot_seen=no; \
276 case "$@" in \
277 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
278 *) list='$(SUBDIRS)' ;; \
279 esac; \
280 rev=''; for subdir in $$list; do \
281 if test "$$subdir" = "."; then :; else \
282 rev="$$subdir $$rev"; \
283 fi; \
284 done; \
285 rev="$$rev ."; \
286 target=`echo $@ | sed s/-recursive//`; \
287 for subdir in $$rev; do \
288 echo "Making $$target in $$subdir"; \
289 if test "$$subdir" = "."; then \
290 local_target="$$target-am"; \
291 else \
292 local_target="$$target"; \
293 fi; \
294 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
295 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
296 done && test -z "$$fail"
297 tags-recursive:
298 list='$(SUBDIRS)'; for subdir in $$list; do \
299 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
300 done
302 tags: TAGS
304 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
305 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
306 unique=`for i in $$list; do \
307 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
308 done | \
309 $(AWK) ' { files[$$0] = 1; } \
310 END { for (i in files) print i; }'`; \
311 mkid -fID $$unique $(LISP)
313 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
314 $(TAGS_FILES) $(LISP)
315 tags=; \
316 here=`pwd`; \
317 list='$(SUBDIRS)'; for subdir in $$list; do \
318 if test "$$subdir" = .; then :; else \
319 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
320 fi; \
321 done; \
322 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
323 unique=`for i in $$list; do \
324 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
325 done | \
326 $(AWK) ' { files[$$0] = 1; } \
327 END { for (i in files) print i; }'`; \
328 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
329 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
331 GTAGS:
332 here=`CDPATH=: && cd $(top_builddir) && pwd` \
333 && cd $(top_srcdir) \
334 && gtags -i $$here
336 distclean-tags:
337 -rm -f TAGS ID
339 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
341 top_distdir = .
342 # Avoid unsightly `./'.
343 distdir = $(PACKAGE)-$(VERSION)
345 GZIP_ENV = --best
347 distdir: $(DISTFILES)
348 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
349 mkdir $(distdir)
350 $(mkinstalldirs) $(distdir)/.
351 @for file in $(DISTFILES); do \
352 if test -f $$file; then d=.; else d=$(srcdir); fi; \
353 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
354 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
355 $(mkinstalldirs) "$(distdir)/$$dir"; \
356 fi; \
357 if test -d $$d/$$file; then \
358 cp -pR $$d/$$file $(distdir) \
359 || exit 1; \
360 else \
361 test -f $(distdir)/$$file \
362 || cp -p $$d/$$file $(distdir)/$$file \
363 || exit 1; \
364 fi; \
365 done
366 for subdir in $(SUBDIRS); do \
367 if test "$$subdir" = .; then :; else \
368 test -d $(distdir)/$$subdir \
369 || mkdir $(distdir)/$$subdir \
370 || exit 1; \
371 (cd $$subdir && \
372 $(MAKE) $(AM_MAKEFLAGS) \
373 top_distdir="$(top_distdir)" \
374 distdir=../$(distdir)/$$subdir \
375 distdir) \
376 || exit 1; \
377 fi; \
378 done
379 $(MAKE) $(AM_MAKEFLAGS) \
380 top_distdir="${top_distdir}" distdir="$(distdir)" \
381 dist-info
382 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
383 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
384 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
385 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
386 || chmod -R a+r $(distdir)
387 dist: distdir
388 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
389 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
391 dist-bzip2: distdir
392 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
393 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
395 # This target untars the dist file and tries a VPATH configuration. Then
396 # it guarantees that the distribution is self-contained by making another
397 # tarfile.
398 distcheck: dist
399 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
400 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
401 chmod -R a-w $(distdir); chmod a+w $(distdir)
402 mkdir $(distdir)/=build
403 mkdir $(distdir)/=inst
404 chmod a-w $(distdir)
405 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
406 && cd $(distdir)/=build \
407 && ../configure --srcdir=.. --prefix=$$dc_install_base \
408 && $(MAKE) $(AM_MAKEFLAGS) \
409 && $(MAKE) $(AM_MAKEFLAGS) dvi \
410 && $(MAKE) $(AM_MAKEFLAGS) check \
411 && $(MAKE) $(AM_MAKEFLAGS) install \
412 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
413 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
414 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
415 && $(MAKE) $(AM_MAKEFLAGS) dist \
416 && $(MAKE) $(AM_MAKEFLAGS) distclean \
417 && rm -f $(distdir).tar.gz \
418 && (test `find . -type f -print | wc -l` -eq 0 \
419 || (echo "Error: files left after distclean" 1>&2; \
420 exit 1) )
421 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
422 @echo "$(distdir).tar.gz is ready for distribution" | \
423 sed 'h;s/./=/g;p;x;p;x'
424 check-am: all-am
425 check: check-recursive
426 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
427 installdirs: installdirs-recursive
428 installdirs-am:
429 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
431 install: install-recursive
432 install-exec: install-exec-recursive
433 install-data: install-data-recursive
434 uninstall: uninstall-recursive
436 install-am: all-am
437 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
439 installcheck: installcheck-recursive
440 install-strip:
441 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
442 `test -z '$(STRIP)' || \
443 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
444 mostlyclean-generic:
446 clean-generic:
448 distclean-generic:
449 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
451 maintainer-clean-generic:
452 @echo "This command is intended for maintainers to use"
453 @echo "it deletes files that may require special tools to rebuild."
454 clean: clean-recursive
456 clean-am: clean-generic mostlyclean-am
458 dist-all: distdir
459 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
460 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
461 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
462 distclean: distclean-recursive
463 -rm -f config.status config.cache config.log
464 distclean-am: clean-am distclean-generic distclean-tags
466 dvi: dvi-recursive
468 dvi-am: $(DVIS)
470 info: info-recursive
472 info-am: $(INFO_DEPS)
474 install-data-am: install-info-am
476 install-exec-am: install-binSCRIPTS
478 install-info: install-info-recursive
480 install-info-am: $(INFO_DEPS)
481 @$(NORMAL_INSTALL)
482 $(mkinstalldirs) $(DESTDIR)$(infodir)
483 @list='$(INFO_DEPS)'; \
484 for file in $$list; do \
485 d=$(srcdir); \
486 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
487 if test -f $$d/$$ifile; then \
488 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
489 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
490 else : ; fi; \
491 done; \
492 done
493 @$(POST_INSTALL)
494 @if (install-info --version && \
495 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
496 list='$(INFO_DEPS)'; \
497 for file in $$list; do \
498 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
499 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
500 done; \
501 else : ; fi
502 install-man:
504 installcheck-am:
506 maintainer-clean: maintainer-clean-recursive
508 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
509 maintainer-clean-generic maintainer-clean-vti
511 mostlyclean: mostlyclean-recursive
513 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
515 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
517 uninstall-info: uninstall-info-recursive
519 .PHONY: $(RECURSIVE_TARGETS) all all-am check check-am clean \
520 clean-generic clean-recursive dist dist-all dist-bzip2 \
521 dist-info distcheck distclean distclean-generic \
522 distclean-recursive distclean-tags distdir dvi dvi-am \
523 dvi-recursive info info-am info-recursive install install-am \
524 install-binSCRIPTS install-data install-data-am \
525 install-data-recursive install-exec install-exec-am \
526 install-exec-recursive install-info install-info-am \
527 install-info-recursive install-man install-recursive \
528 install-strip installcheck installcheck-am installdirs \
529 installdirs-am installdirs-recursive maintainer-clean \
530 maintainer-clean-aminfo maintainer-clean-generic \
531 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
532 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
533 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
534 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
535 uninstall-recursive
538 ################################################################
540 # Some simple checks, and then ordinary check. These are only really
541 # guaranteed to work on my machine.
542 maintainer-check: automake aclocal
543 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
544 echo "found too many diffs between automake.in and automake"; 1>&2; \
545 diff -c $(srcdir)/automake.in automake; \
546 exit 1; \
548 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
549 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
550 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
551 fgrep -v '$$$$'; then \
552 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
553 exit 1; \
554 else :; fi
555 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
556 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
557 fgrep -v '##'; then \
558 echo "Suspicious 'rm' invocation." 1>&2; \
559 exit 1; \
560 else :; fi
561 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
562 fgrep -v '$$(mkinstalldirs)'; then \
563 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
564 exit 1; \
565 else :; fi
566 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
567 fgrep -v 'undef $$/'; then \
568 echo "Found undef in automake.in; use delete instead" 1>&2; \
569 exit 1; \
571 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
572 echo "Found bad split in the lines above." 1>&2; \
573 exit 1; \
575 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
576 $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
577 echo "Consider setting CDPATH in the lines above" 1>&2; \
578 exit 1; \
580 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
581 echo "Using @_ in a scalar context in the lines above." 1>&2; \
582 exit 1; \
584 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
585 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
586 exit 1; \
588 @locals=`grep -c '^[ \t]*local [^*]' $(srcdir)/automake.in`; \
589 case $$locals in \
590 [0] ) \
591 echo "Wow, congrats! There are no \`local' now!." >&2; \
592 echo "Please update Makefile.am (maintainer-check)." >&2; \
593 exit 1; \
594 ;; \
595 1 ) ;; \
596 * ) \
597 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
598 echo "Up to now 1 was enough." >&2; \
599 exit 1; \
600 ;; \
601 esac
602 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
603 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
604 exit 1; \
607 # Tag before making distribution. Also, don't make a distribution if
608 # checks fail. Also, make sure the NEWS file is up-to-date.
609 cvs-dist: maintainer-check distcheck
610 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
611 echo "NEWS not updated; not releasing" 1>&2; \
612 exit 1; \
614 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
615 $(MAKE) dist
617 cvs-diff:
618 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
619 if test -z "$$OLDVERSION"; then \
620 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
621 else prevno="$$OLDVERSION"; fi; \
622 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
623 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
624 > $(PACKAGE)-$$prevno-$(VERSION).diff
626 path-check: distdir
627 (cd $(distdir) && \
628 find . -print | xargs pathchk -p); \
629 status=$$?; \
630 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
631 exit $$status
633 fetch:
634 rm -rf Fetchdir > /dev/null 2>&1
635 mkdir Fetchdir
636 (cd Fetchdir && \
637 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
638 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
639 $(WGET) ftp://ftp.cs.wisc.edu/ghost/ansi2knr.c)
640 @stat=0; for file in $(FETCHFILES); do \
641 if diff $(srcdir)/lib/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
642 else \
643 stat=1; \
644 echo "install Fetchdir/$$file into srcdir and commit"; \
645 fi; \
646 done; exit $$stat
647 # Tell versions [3.59,3.63) of GNU make to not export all variables.
648 # Otherwise a system limit (for SysV at least) may be exceeded.
649 .NOEXPORT: