* tests/Makefile.am (TESTS): Added mdate4.test.
[automake.git] / Makefile.in
blob9f19b74e67afb08c874d66b58ffb2f8f79bbc7cb
1 # Makefile.in generated automatically by automake 1.4g 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 README-alpha THANKS TODO aclocal.in aclocal.m4 \
109 automake.in 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) --gnits 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 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 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; \
349 then :; else \
350 echo "NEWS not updated; not releasing" 1>&2; \
351 exit 1; \
353 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
354 mkdir $(distdir)
355 $(mkinstalldirs) $(distdir)/.
356 @for file in $(DISTFILES); do \
357 if test -f $$file; then d=.; else d=$(srcdir); fi; \
358 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
359 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
360 $(mkinstalldirs) "$(distdir)/$$dir"; \
361 fi; \
362 if test -d $$d/$$file; then \
363 cp -pR $$d/$$file $(distdir) \
364 || exit 1; \
365 else \
366 test -f $(distdir)/$$file \
367 || cp -p $$d/$$file $(distdir)/$$file \
368 || exit 1; \
369 fi; \
370 done
371 for subdir in $(SUBDIRS); do \
372 if test "$$subdir" = .; then :; else \
373 test -d $(distdir)/$$subdir \
374 || mkdir $(distdir)/$$subdir \
375 || exit 1; \
376 (cd $$subdir && \
377 $(MAKE) $(AM_MAKEFLAGS) \
378 top_distdir="$(top_distdir)" \
379 distdir=../$(distdir)/$$subdir \
380 distdir) \
381 || exit 1; \
382 fi; \
383 done
384 $(MAKE) $(AM_MAKEFLAGS) \
385 top_distdir="${top_distdir}" distdir="$(distdir)" \
386 dist-info
387 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
388 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
389 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
390 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
391 || chmod -R a+r $(distdir)
392 dist: distdir
393 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
394 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
396 dist-bzip2: distdir
397 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
398 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
400 # This target untars the dist file and tries a VPATH configuration. Then
401 # it guarantees that the distribution is self-contained by making another
402 # tarfile.
403 distcheck: dist
404 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
405 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
406 chmod -R a-w $(distdir); chmod a+w $(distdir)
407 mkdir $(distdir)/=build
408 mkdir $(distdir)/=inst
409 chmod a-w $(distdir)
410 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
411 && cd $(distdir)/=build \
412 && ../configure --srcdir=.. --prefix=$$dc_install_base \
413 && $(MAKE) $(AM_MAKEFLAGS) \
414 && $(MAKE) $(AM_MAKEFLAGS) dvi \
415 && $(MAKE) $(AM_MAKEFLAGS) check \
416 && $(MAKE) $(AM_MAKEFLAGS) install \
417 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
418 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
419 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
420 && $(MAKE) $(AM_MAKEFLAGS) dist \
421 && $(MAKE) $(AM_MAKEFLAGS) distclean \
422 && rm -f $(distdir).tar.gz \
423 && (test `find . -type f -print | wc -l` -eq 0 \
424 || (echo "Error: files left after distclean" 1>&2; \
425 exit 1) )
426 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
427 @echo "$(distdir).tar.gz is ready for distribution" | \
428 sed 'h;s/./=/g;p;x;p;x'
429 check-am: all-am
430 check: check-recursive
431 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
432 installdirs: installdirs-recursive
433 installdirs-am:
434 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
436 install: install-recursive
437 install-exec: install-exec-recursive
438 install-data: install-data-recursive
439 uninstall: uninstall-recursive
441 install-am: all-am
442 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
444 installcheck: installcheck-recursive
445 install-strip:
446 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
447 `test -z '$(STRIP)' || \
448 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
449 mostlyclean-generic:
451 clean-generic:
453 distclean-generic:
454 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
456 maintainer-clean-generic:
457 @echo "This command is intended for maintainers to use"
458 @echo "it deletes files that may require special tools to rebuild."
459 clean: clean-recursive
461 clean-am: clean-generic mostlyclean-am
463 dist-all: distdir
464 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
465 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
466 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
467 distclean: distclean-recursive
468 -rm -f config.status config.cache config.log
469 distclean-am: clean-am distclean-generic distclean-tags
471 dvi: dvi-recursive
473 dvi-am: $(DVIS)
475 info: info-recursive
477 info-am: $(INFO_DEPS)
479 install-data-am: install-info-am
481 install-exec-am: install-binSCRIPTS
483 install-info: install-info-recursive
485 install-info-am: $(INFO_DEPS)
486 @$(NORMAL_INSTALL)
487 $(mkinstalldirs) $(DESTDIR)$(infodir)
488 @list='$(INFO_DEPS)'; \
489 for file in $$list; do \
490 d=$(srcdir); \
491 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
492 if test -f $$d/$$ifile; then \
493 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
494 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
495 else : ; fi; \
496 done; \
497 done
498 @$(POST_INSTALL)
499 @if (install-info --version && \
500 install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
501 list='$(INFO_DEPS)'; \
502 for file in $$list; do \
503 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
504 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
505 done; \
506 else : ; fi
507 install-man:
509 installcheck-am:
511 maintainer-clean: maintainer-clean-recursive
513 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
514 maintainer-clean-generic maintainer-clean-vti
516 mostlyclean: mostlyclean-recursive
518 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
520 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
522 uninstall-info: uninstall-info-recursive
524 .PHONY: $(RECURSIVE_TARGETS) all all-am check check-am clean \
525 clean-generic clean-recursive dist dist-all dist-bzip2 \
526 dist-info distcheck distclean distclean-generic \
527 distclean-recursive distclean-tags distdir dvi dvi-am \
528 dvi-recursive info info-am info-recursive install install-am \
529 install-binSCRIPTS install-data install-data-am \
530 install-data-recursive install-exec install-exec-am \
531 install-exec-recursive install-info install-info-am \
532 install-info-recursive install-man install-recursive \
533 install-strip installcheck installcheck-am installdirs \
534 installdirs-am installdirs-recursive maintainer-clean \
535 maintainer-clean-aminfo maintainer-clean-generic \
536 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
537 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
538 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
539 uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
540 uninstall-recursive
543 ################################################################
545 # Some simple checks, and then ordinary check. These are only really
546 # guaranteed to work on my machine.
547 maintainer-check: automake aclocal
548 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
549 echo "found too many diffs between automake.in and automake"; 1>&2; \
550 diff -c $(srcdir)/automake.in automake; \
551 exit 1; \
553 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
554 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
555 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
556 fgrep -v '$$$$'; then \
557 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
558 exit 1; \
559 else :; fi
560 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
561 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
562 fgrep -v '##'; then \
563 echo "Suspicious 'rm' invocation." 1>&2; \
564 exit 1; \
565 else :; fi
566 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
567 fgrep -v '$$(mkinstalldirs)'; then \
568 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
569 exit 1; \
570 else :; fi
571 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
572 fgrep -v 'undef $$/'; then \
573 echo "Found undef in automake.in; use delete instead" 1>&2; \
574 exit 1; \
576 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
577 echo "Found bad split in the lines above." 1>&2; \
578 exit 1; \
580 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
581 $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
582 echo "Consider setting CDPATH in the lines above" 1>&2; \
583 exit 1; \
585 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
586 echo "Using @_ in a scalar context in the lines above." 1>&2; \
587 exit 1; \
589 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
590 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
591 exit 1; \
593 @locals=`grep -c '^[ \t]*local [^*]' $(srcdir)/automake.in`; \
594 case $$locals in \
595 [0] ) \
596 echo "Wow, congrats! There are no \`local' now!." >&2; \
597 echo "Please update Makefile.am (maintainer-check)." >&2; \
598 exit 1; \
599 ;; \
600 1 ) ;; \
601 * ) \
602 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
603 echo "Up to now 1 was enough." >&2; \
604 exit 1; \
605 ;; \
606 esac
607 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
608 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
609 exit 1; \
612 # Tag before making distribution. Also, don't make a distribution if
613 # checks fail. Also, make sure the NEWS file is up-to-date.
614 cvs-dist: maintainer-check distcheck
615 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
616 echo "NEWS not updated; not releasing" 1>&2; \
617 exit 1; \
619 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
620 $(MAKE) dist
622 cvs-diff:
623 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
624 if test -z "$$OLDVERSION"; then \
625 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
626 else prevno="$$OLDVERSION"; fi; \
627 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
628 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
629 > $(PACKAGE)-$$prevno-$(VERSION).diff
631 path-check: distdir
632 (cd $(distdir) && \
633 find . -print | xargs pathchk -p); \
634 status=$$?; \
635 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
636 exit $$status
638 fetch:
639 rm -rf Fetchdir > /dev/null 2>&1
640 mkdir Fetchdir
641 (cd Fetchdir && \
642 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
643 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
644 $(WGET) ftp://ftp.cs.wisc.edu/ghost/ansi2knr.c)
645 @stat=0; for file in $(FETCHFILES); do \
646 if diff $(srcdir)/lib/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
647 else \
648 stat=1; \
649 echo "install Fetchdir/$$file into srcdir and commit"; \
650 fi; \
651 done; exit $$stat
652 # Tell versions [3.59,3.63) of GNU make to not export all variables.
653 # Otherwise a system limit (for SysV at least) may be exceeded.
654 .NOEXPORT: