* configure.in: Released 1.4l.
[automake.git] / Makefile.in
blob76f70edf308d69d98ec0a5393db8be7241feb5a5
1 # Makefile.in generated automatically by automake 1.4l 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 EXEEXT = @EXEEXT@
62 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
63 OBJEXT = @OBJEXT@
64 PACKAGE = @PACKAGE@
65 PERL = @PERL@
66 VERSION = @VERSION@
67 am__include = @am__include@
68 am__quote = @am__quote@
69 install_sh = @install_sh@
71 AUTOMAKE_OPTIONS = 1.4 dist-bzip2
73 SUBDIRS = . m4 lib tests
75 bin_SCRIPTS = automake aclocal
76 info_TEXINFOS = automake.texi
78 TAGS_FILES = automake.in aclocal.in
80 # The following requires a fixed version of the Emacs 19.30 etags.
81 ETAGS_ARGS = --lang=none \
82 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
84 TAGS_DEPENDENCIES = automake.texi
86 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000
88 WGET = wget
90 FETCHFILES = config.guess config.sub ansi2knr.c
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 $(GTAGS_ARGS) $$here
336 distclean-tags:
337 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
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 || (echo "Error: files left after uninstall" 1>&2; \
416 exit 1) ) \
417 && $(MAKE) $(AM_MAKEFLAGS) dist \
418 && $(MAKE) $(AM_MAKEFLAGS) distclean \
419 && rm -f $(distdir).tar.gz \
420 && (test `find . -type f -print | wc -l` -eq 0 \
421 || (echo "Error: files left after distclean" 1>&2; \
422 exit 1) )
423 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
424 @echo "$(distdir).tar.gz is ready for distribution" | \
425 sed 'h;s/./=/g;p;x;p;x'
426 check-am: all-am
427 check: check-recursive
428 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
429 installdirs: installdirs-recursive
430 installdirs-am:
431 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
433 install: install-recursive
434 install-exec: install-exec-recursive
435 install-data: install-data-recursive
436 uninstall: uninstall-recursive
438 install-am: all-am
439 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
441 installcheck: installcheck-recursive
442 install-strip:
443 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
444 `test -z '$(STRIP)' || \
445 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
446 mostlyclean-generic:
448 clean-generic:
450 distclean-generic:
451 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
453 maintainer-clean-generic:
454 @echo "This command is intended for maintainers to use"
455 @echo "it deletes files that may require special tools to rebuild."
456 clean: clean-recursive
458 clean-am: clean-generic mostlyclean-am
460 dist-all: distdir
461 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
462 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
463 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
464 distclean: distclean-recursive
465 -rm -f config.status config.cache config.log
466 distclean-am: clean-am distclean-generic distclean-tags
468 dvi: dvi-recursive
470 dvi-am: $(DVIS)
472 info: info-recursive
474 info-am: $(INFO_DEPS)
476 install-data-am: install-info-am
478 install-exec-am: install-binSCRIPTS
480 install-info: install-info-recursive
482 install-info-am: $(INFO_DEPS)
483 @$(NORMAL_INSTALL)
484 $(mkinstalldirs) $(DESTDIR)$(infodir)
485 @list='$(INFO_DEPS)'; \
486 for file in $$list; do \
487 d=$(srcdir); \
488 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
489 if test -f $$d/$$ifile; then \
490 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
491 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
492 else : ; fi; \
493 done; \
494 done
495 @$(POST_INSTALL)
496 @if (install-info --version && \
497 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
498 list='$(INFO_DEPS)'; \
499 for file in $$list; do \
500 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
501 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
502 done; \
503 else : ; fi
504 install-man:
506 installcheck-am:
508 maintainer-clean: maintainer-clean-recursive
510 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
511 maintainer-clean-generic maintainer-clean-vti
513 mostlyclean: mostlyclean-recursive
515 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
517 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
519 uninstall-info: uninstall-info-recursive
521 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
522 clean-generic clean-recursive dist dist-all dist-bzip2 \
523 dist-info distcheck distclean distclean-generic \
524 distclean-recursive distclean-tags distdir dvi dvi-am \
525 dvi-recursive info info-am info-recursive install install-am \
526 install-binSCRIPTS install-data install-data-am \
527 install-data-recursive install-exec install-exec-am \
528 install-exec-recursive install-info install-info-am \
529 install-info-recursive install-man install-recursive \
530 install-strip installcheck installcheck-am installdirs \
531 installdirs-am installdirs-recursive maintainer-clean \
532 maintainer-clean-aminfo maintainer-clean-generic \
533 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
534 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
535 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
536 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
537 uninstall-recursive
540 ################################################################
542 # Some simple checks, and then ordinary check. These are only really
543 # guaranteed to work on my machine.
544 maintainer-check: automake aclocal
545 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
546 echo "found too many diffs between automake.in and automake"; 1>&2; \
547 diff -c $(srcdir)/automake.in automake; \
548 exit 1; \
550 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
551 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
552 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
553 fgrep -v '$$$$'; then \
554 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
555 exit 1; \
556 else :; fi
557 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
558 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
559 fgrep -v '##'; then \
560 echo "Suspicious 'rm' invocation." 1>&2; \
561 exit 1; \
562 else :; fi
563 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
564 fgrep -v '$$(mkinstalldirs)'; then \
565 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
566 exit 1; \
567 else :; fi
568 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
569 fgrep -v 'undef $$/'; then \
570 echo "Found undef in automake.in; use delete instead" 1>&2; \
571 exit 1; \
573 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
574 echo "Found bad split in the lines above." 1>&2; \
575 exit 1; \
577 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
578 $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
579 echo "Consider setting CDPATH in the lines above" 1>&2; \
580 exit 1; \
582 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
583 echo "Using @_ in a scalar context in the lines above." 1>&2; \
584 exit 1; \
586 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
587 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
588 exit 1; \
590 @locals=`grep -c '^[ \t]*local [^*]' $(srcdir)/automake.in`; \
591 case $$locals in \
592 [0] ) \
593 echo "Wow, congrats! There are no \`local' now!." >&2; \
594 echo "Please update Makefile.am (maintainer-check)." >&2; \
595 exit 1; \
596 ;; \
597 1 ) ;; \
598 * ) \
599 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
600 echo "Up to now 1 was enough." >&2; \
601 exit 1; \
602 ;; \
603 esac
604 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
605 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
606 exit 1; \
609 # Tag before making distribution. Also, don't make a distribution if
610 # checks fail. Also, make sure the NEWS file is up-to-date.
611 cvs-dist: maintainer-check distcheck
612 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
613 echo "NEWS not updated; not releasing" 1>&2; \
614 exit 1; \
616 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
617 $(MAKE) dist
619 cvs-diff:
620 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
621 if test -z "$$OLDVERSION"; then \
622 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
623 else prevno="$$OLDVERSION"; fi; \
624 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
625 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
626 > $(PACKAGE)-$$prevno-$(VERSION).diff
628 path-check: distdir
629 (cd $(distdir) && \
630 find . -print | xargs pathchk -p); \
631 status=$$?; \
632 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
633 exit $$status
635 fetch:
636 rm -rf Fetchdir > /dev/null 2>&1
637 mkdir Fetchdir
638 (cd Fetchdir && \
639 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
640 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
641 $(WGET) ftp://ftp.cs.wisc.edu/ghost/ansi2knr.c)
642 @stat=0; for file in $(FETCHFILES); do \
643 if diff $(srcdir)/lib/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
644 else \
645 stat=1; \
646 echo "install Fetchdir/$$file into srcdir and commit"; \
647 fi; \
648 done; exit $$stat
649 # Tell versions [3.59,3.63) of GNU make to not export all variables.
650 # Otherwise a system limit (for SysV at least) may be exceeded.
651 .NOEXPORT: