Reported by Rainer Orth:
[automake.git] / Makefile.in
blob27f1ed030daa38f1b91c5425f348ae736634df7b
1 # Makefile.in generated automatically by automake 1.4e 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@
17 SHELL = @SHELL@
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22 prefix = @prefix@
23 exec_prefix = @exec_prefix@
25 bindir = @bindir@
26 sbindir = @sbindir@
27 libexecdir = @libexecdir@
28 datadir = @datadir@
29 sysconfdir = @sysconfdir@
30 sharedstatedir = @sharedstatedir@
31 localstatedir = @localstatedir@
32 libdir = @libdir@
33 infodir = @infodir@
34 mandir = @mandir@
35 includedir = @includedir@
36 oldincludedir = /usr/include
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
42 top_builddir = .
44 ACLOCAL = @ACLOCAL@
45 AUTOCONF = @AUTOCONF@
46 AUTOMAKE = @AUTOMAKE@
47 AUTOHEADER = @AUTOHEADER@
49 INSTALL = @INSTALL@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_DATA = @INSTALL_DATA@
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 INSTALL_HEADER = $(INSTALL_DATA)
54 transform = @program_transform_name@
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 AMTAR = @AMTAR@
63 AWK = @AWK@
64 DEPDIR = @DEPDIR@
65 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
66 INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
67 PACKAGE = @PACKAGE@
68 PERL = @PERL@
69 STRIP = @STRIP@
70 VERSION = @VERSION@
71 _am_include = @_am_include@
72 _am_quote = @_am_quote@
73 install_sh = @install_sh@
75 AUTOMAKE_OPTIONS = gnits 1.4 dist-bzip2
76 MAINT_CHARSET = latin1
78 SUBDIRS = . m4 lib tests
80 bin_SCRIPTS = automake aclocal
81 info_TEXINFOS = automake.texi
83 TAGS_FILES = automake.in aclocal.in
85 # The following requires a fixed version of the Emacs 19.30 etags.
86 ETAGS_ARGS = --lang=none \
87 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
89 TAGS_DEPENDENCIES = automake.texi
91 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998
93 WGET = wget
95 FETCHFILES = config.guess config.sub
96 EXEEXT =
97 OBJEXT = o
98 subdir = .
99 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
101 CONFIG_CLEAN_FILES = automake aclocal
102 SCRIPTS = $(bin_SCRIPTS)
104 DIST_SOURCES =
105 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
106 INFO_DEPS = automake.info
107 DVIS = automake.dvi
108 TEXINFOS = automake.texi
110 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
111 uninstall-info-recursive all-recursive install-data-recursive \
112 install-exec-recursive installdirs-recursive install-recursive \
113 uninstall-recursive check-recursive installcheck-recursive
114 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
115 Makefile.in NEWS README-alpha THANKS TODO aclocal.in aclocal.m4 \
116 automake.in configure configure.in install-sh mdate-sh missing \
117 mkinstalldirs stamp-vti version.texi
118 DIST_SUBDIRS = $(SUBDIRS)
119 all: all-recursive
121 .SUFFIXES:
122 .SUFFIXES: .dvi .info .ps .texi
124 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
125 cd $(top_srcdir) && \
126 $(AUTOMAKE) --gnits Makefile
128 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
129 cd $(top_builddir) && \
130 CONFIG_HEADERS= CONFIG_LINKS= \
131 CONFIG_FILES=$@ $(SHELL) ./config.status
133 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
134 $(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) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
143 aclocal: $(top_builddir)/config.status aclocal.in
144 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
145 install-binSCRIPTS: $(bin_SCRIPTS)
146 @$(NORMAL_INSTALL)
147 $(mkinstalldirs) $(DESTDIR)$(bindir)
148 @list='$(bin_SCRIPTS)'; for p in $$list; do \
149 f="`echo $$p|sed '$(transform)'`"; \
150 if test -f $$p; then \
151 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
152 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
153 elif test -f $(srcdir)/$$p; then \
154 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
155 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
156 else :; fi; \
157 done
159 uninstall-binSCRIPTS:
160 @$(NORMAL_UNINSTALL)
161 @list='$(bin_SCRIPTS)'; for p in $$list; do \
162 f="`echo $$p|sed '$(transform)'`"; \
163 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
164 rm -f $(DESTDIR)$(bindir)/$$f; \
165 done
167 $(srcdir)/version.texi: $(srcdir)/stamp-vti
170 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
171 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
172 echo "@set UPDATED $$1 $$2 $$3"; \
173 echo "@set UPDATED-MONTH $$2 $$3"; \
174 echo "@set EDITION $(VERSION)"; \
175 echo "@set VERSION $(VERSION)") > vti.tmp
176 @cmp -s vti.tmp $(srcdir)/version.texi \
177 || (echo "Updating $(srcdir)/version.texi"; \
178 cp vti.tmp $(srcdir)/version.texi)
179 -@rm -f vti.tmp
180 @cp $(srcdir)/version.texi $@
182 mostlyclean-vti:
183 -rm -f vti.tmp
185 maintainer-clean-vti:
186 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
188 automake.info: automake.texi $(srcdir)/version.texi
189 automake.dvi: automake.texi $(srcdir)/version.texi
191 .texi.info:
192 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
193 cd $(srcdir) \
194 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
196 .texi.dvi:
197 TEXINPUTS=$(top_srcdir)/lib:$$TEXINPUTS \
198 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
200 .texi:
201 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
202 cd $(srcdir) \
203 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
205 MAKEINFO = @MAKEINFO@
206 TEXI2DVI = texi2dvi
208 DVIPS = dvips
209 .dvi.ps:
210 $(DVIPS) $< -o $@
212 uninstall-info-am:
213 $(PRE_UNINSTALL)
214 @if $(SHELL) -c 'install-info --version 2>&1 | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
215 list='$(INFO_DEPS)'; \
216 for file in $$list; do \
217 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
218 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
219 done; \
220 else :; fi
221 @$(NORMAL_UNINSTALL)
222 @list='$(INFO_DEPS)'; \
223 for file in $$list; do \
224 (if cd $(DESTDIR)$(infodir); then \
225 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
226 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
227 else :; fi); \
228 done
230 dist-info: $(INFO_DEPS)
231 list='$(INFO_DEPS)'; \
232 for base in $$list; do \
233 d=$(srcdir); \
234 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
235 test -f $(distdir)/$$file \
236 || cp -p $$d/$$file $(distdir)/$$file; \
237 done; \
238 done
240 mostlyclean-aminfo:
241 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
242 automake.dvi automake.fn automake.ky automake.log automake.op \
243 automake.ov automake.pg automake.ps automake.toc automake.tp \
244 automake.tr automake.vr automake.vrs
246 maintainer-clean-aminfo:
247 cd $(srcdir) && \
248 for i in $(INFO_DEPS); do \
249 rm -f $$i; \
250 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
251 rm -f $$i-[0-9]*; \
252 fi; \
253 done
255 # This directory's subdirectories are mostly independent; you can cd
256 # into them and run `make' without going through this Makefile.
257 # To change the values of `make' variables: instead of editing Makefiles,
258 # (1) if the variable is set in `config.status', edit `config.status'
259 # (which will cause the Makefiles to be regenerated when you run `make');
260 # (2) otherwise, pass the desired values on the `make' command line.
261 $(RECURSIVE_TARGETS):
262 @set fnord $(MAKEFLAGS); amf=$$2; \
263 dot_seen=no; \
264 target=`echo $@ | sed s/-recursive//`; \
265 list='$(SUBDIRS)'; for subdir in $$list; do \
266 echo "Making $$target in $$subdir"; \
267 if test "$$subdir" = "."; then \
268 dot_seen=yes; \
269 local_target="$$target-am"; \
270 else \
271 local_target="$$target"; \
272 fi; \
273 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
274 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
275 done; \
276 if test "$$dot_seen" = "no"; then \
277 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
278 fi; test -z "$$fail"
280 mostlyclean-recursive clean-recursive distclean-recursive \
281 maintainer-clean-recursive:
282 @set fnord $(MAKEFLAGS); amf=$$2; \
283 dot_seen=no; \
284 case "$@" in \
285 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
286 *) list='$(SUBDIRS)' ;; \
287 esac; \
288 rev=''; for subdir in $$list; do \
289 if test "$$subdir" = "."; then :; else \
290 rev="$$subdir $$rev"; \
291 fi; \
292 done; \
293 rev="$$rev ."; \
294 target=`echo $@ | sed s/-recursive//`; \
295 for subdir in $$rev; do \
296 echo "Making $$target in $$subdir"; \
297 if test "$$subdir" = "."; then \
298 local_target="$$target-am"; \
299 else \
300 local_target="$$target"; \
301 fi; \
302 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
303 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
304 done && test -z "$$fail"
305 tags-recursive:
306 list='$(SUBDIRS)'; for subdir in $$list; do \
307 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
308 done
310 tags: TAGS
312 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
313 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
314 unique=`for i in $$list; do \
315 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
316 done | \
317 $(AWK) ' { files[$$0] = 1; } \
318 END { for (i in files) print i; }'`; \
319 mkid -fID $$unique $(LISP)
321 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
322 $(TAGS_FILES) $(LISP)
323 tags=; \
324 here=`pwd`; \
325 list='$(SUBDIRS)'; for subdir in $$list; do \
326 if test "$$subdir" = .; then :; else \
327 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
328 fi; \
329 done; \
330 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
331 unique=`for i in $$list; do \
332 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
333 done | \
334 $(AWK) ' { files[$$0] = 1; } \
335 END { for (i in files) print i; }'`; \
336 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
337 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
339 GTAGS:
340 here=`CDPATH=: && cd $(top_builddir) && pwd` \
341 && cd $(top_srcdir) \
342 && gtags -i $$here
344 distclean-tags:
345 -rm -f TAGS ID
347 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
349 top_distdir = .
350 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
352 GZIP_ENV = --best
354 distdir: $(DISTFILES)
355 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; \
356 then :; else \
357 echo "NEWS not updated; not releasing" 1>&2; \
358 exit 1; \
360 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
361 mkdir $(distdir)
362 $(mkinstalldirs) $(distdir)/.
363 @for file in $(DISTFILES); do \
364 d=$(srcdir); \
365 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
366 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
367 $(mkinstalldirs) "$(distdir)/$$dir"; \
368 fi; \
369 if test -d $$d/$$file; then \
370 cp -pR $$d/$$file $(distdir) \
371 || exit 1; \
372 else \
373 test -f $(distdir)/$$file \
374 || cp -p $$d/$$file $(distdir)/$$file \
375 || exit 1; \
376 fi; \
377 done
378 for subdir in $(SUBDIRS); do \
379 if test "$$subdir" = .; then :; else \
380 test -d $(distdir)/$$subdir \
381 || mkdir $(distdir)/$$subdir \
382 || exit 1; \
383 (cd $$subdir && \
384 $(MAKE) $(AM_MAKEFLAGS) \
385 top_distdir="$(top_distdir)" \
386 distdir=../$(distdir)/$$subdir \
387 distdir) \
388 || exit 1; \
389 fi; \
390 done
391 $(MAKE) $(AM_MAKEFLAGS) \
392 top_distdir="${top_distdir}" distdir="$(distdir)" \
393 dist-info
394 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
395 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
396 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
397 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
398 || chmod -R a+r $(distdir)
399 dist: distdir
400 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
401 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
403 dist-bzip2: distdir
404 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
405 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
407 # This target untars the dist file and tries a VPATH configuration. Then
408 # it guarantees that the distribution is self-contained by making another
409 # tarfile.
410 distcheck: dist
411 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
412 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
413 chmod -R a-w $(distdir); chmod a+w $(distdir)
414 mkdir $(distdir)/=build
415 mkdir $(distdir)/=inst
416 chmod a-w $(distdir)
417 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
418 && cd $(distdir)/=build \
419 && ../configure --srcdir=.. --prefix=$$dc_install_base \
420 && $(MAKE) $(AM_MAKEFLAGS) \
421 && $(MAKE) $(AM_MAKEFLAGS) dvi \
422 && $(MAKE) $(AM_MAKEFLAGS) check \
423 && $(MAKE) $(AM_MAKEFLAGS) install \
424 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
425 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
426 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
427 && $(MAKE) $(AM_MAKEFLAGS) dist \
428 && $(MAKE) $(AM_MAKEFLAGS) distclean \
429 && rm -f $(distdir).tar.gz \
430 && (test `find . -type f -print | wc -l` -eq 0 \
431 || (echo "Error: files left after distclean" 1>&2; \
432 exit 1) )
433 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
434 @echo "$(distdir).tar.gz is ready for distribution" | \
435 sed 'h;s/./=/g;p;x;p;x'
436 check-am: all-am
437 check: check-recursive
438 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
440 installdirs: installdirs-recursive
441 installdirs-am:
442 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
444 install: install-recursive
445 install-exec: install-exec-recursive
446 install-data: install-data-recursive
447 uninstall: uninstall-recursive
449 install-am: all-am
450 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
452 installcheck: installcheck-recursive
454 install-strip:
455 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
456 INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
458 mostlyclean-generic:
460 clean-generic:
462 distclean-generic:
463 -rm -f Makefile $(CONFIG_CLEAN_FILES)
464 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
466 maintainer-clean-generic:
467 @echo "This command is intended for maintainers to use"
468 @echo "it deletes files that may require special tools to rebuild."
469 -rm -f Makefile.in
470 clean: clean-recursive
472 clean-am: clean-generic mostlyclean-am
474 dist-all: distdir
475 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
476 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
477 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
478 distclean: distclean-recursive
479 -rm -f config.status
480 distclean-am: clean-am distclean-generic distclean-tags
482 dvi: dvi-recursive
484 dvi-am: $(DVIS)
486 info: info-recursive
488 info-am: $(INFO_DEPS)
490 install-data-am: install-info-am
492 install-exec-am: install-binSCRIPTS
494 install-info: install-info-recursive
496 install-info-am: $(INFO_DEPS)
497 @$(NORMAL_INSTALL)
498 $(mkinstalldirs) $(DESTDIR)$(infodir)
499 @list='$(INFO_DEPS)'; \
500 for file in $$list; do \
501 d=$(srcdir); \
502 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
503 if test -f $$d/$$ifile; then \
504 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
505 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
506 else : ; fi; \
507 done; \
508 done
509 @$(POST_INSTALL)
510 @if $(SHELL) -c 'install-info --version 2>&1 | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
511 list='$(INFO_DEPS)'; \
512 for file in $$list; do \
513 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
514 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
515 done; \
516 else : ; fi
517 install-man:
519 installcheck-am:
521 maintainer-clean: maintainer-clean-recursive
522 -rm -f config.status
523 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
524 maintainer-clean-generic maintainer-clean-vti
526 mostlyclean: mostlyclean-recursive
528 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
530 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
532 uninstall-info: uninstall-info-recursive
534 .PHONY: $(RECURSIVE_TARGETS) all all-am check check-am clean \
535 clean-generic clean-recursive dist dist-all dist-bzip2 \
536 dist-info distcheck distclean distclean-generic \
537 distclean-recursive distclean-tags distdir dvi dvi-am \
538 dvi-recursive info info-am info-recursive install install-am \
539 install-binSCRIPTS install-data install-data-am \
540 install-data-recursive install-exec install-exec-am \
541 install-exec-recursive install-info install-info-recursive \
542 install-man install-recursive install-strip installcheck \
543 installcheck-am installdirs installdirs-am \
544 installdirs-recursive maintainer-clean maintainer-clean-aminfo \
545 maintainer-clean-generic maintainer-clean-recursive \
546 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
547 mostlyclean-generic mostlyclean-recursive mostlyclean-vti tags \
548 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
549 uninstall-info-recursive uninstall-recursive
552 ################################################################
554 # Some simple checks, and then ordinary check. These are only really
555 # guaranteed to work on my machine.
556 maintainer-check: automake aclocal
557 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
558 echo "found too many diffs between automake.in and automake"; 1>&2; \
559 diff -c $(srcdir)/automake.in automake; \
560 exit 1; \
562 $(PERL) -c -w automake
563 $(PERL) -c -w aclocal
564 @if fgrep '\$${' $(srcdir)/lib/am/[a-z]*.am | \
565 fgrep -v '$$$$'; then \
566 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
567 exit 1; \
568 else :; fi
569 @if egrep '\<rm ([^-]|\-[^f ]*\>)' \
570 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
571 fgrep -v '##'; then \
572 echo "Suspicious 'rm' invocation." 1>&2; \
573 exit 1; \
574 else :; fi
575 @if fgrep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
576 fgrep -v '$$(mkinstalldirs)'; then \
577 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
578 exit 1; \
579 else :; fi
580 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
581 fgrep -v 'undef $$/'; then \
582 echo "Found undef in automake.in; use delete instead" 1>&2; \
583 exit 1; \
585 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
586 echo "Found bad split in the lines above." 1>&2; \
587 exit 1; \
589 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
590 $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
591 echo "Consider setting CDPATH in the lines above" 1>&2; \
592 exit 1; \
594 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
595 echo "Using @_ in a scalar context in the lines above." 1>&2; \
596 exit 1; \
598 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
599 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
600 exit 1; \
602 @locals=`grep -c '^[ \t]*local [^*]' $(srcdir)/automake.in`; \
603 case $$locals in \
604 [0] ) \
605 echo "Wow, congrats! There are no \`local' now!." >&2; \
606 echo "Please update Makefile.am (maintainer-check)." >&2; \
607 exit 1; \
608 ;; \
609 1 ) ;; \
610 * ) \
611 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
612 echo "Up to now 1 was enough." >&2; \
613 exit 1; \
614 ;; \
615 esac
616 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
617 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
618 exit 1; \
621 # Tag before making distribution. Also, don't make a distribution if
622 # checks fail. Also, make sure the NEWS file is up-to-date.
623 cvs-dist: maintainer-check distcheck
624 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
625 echo "NEWS not updated; not releasing" 1>&2; \
626 exit 1; \
628 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
629 $(MAKE) dist
631 cvs-diff:
632 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
633 if test -z "$$OLDVERSION"; then \
634 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
635 else prevno="$$OLDVERSION"; fi; \
636 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
637 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
638 > $(PACKAGE)-$$prevno-$(VERSION).diff
640 path-check: distdir
641 (cd $(distdir) && \
642 find . -print | xargs pathchk -p); \
643 status=$$?; \
644 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
645 exit $$status
647 fetch:
648 rm -rf Fetchdir > /dev/null 2>&1
649 mkdir Fetchdir
650 (cd Fetchdir && \
651 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
652 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub)
653 @stat=0; for file in $(FETCHFILES); do \
654 if diff $(srcdir)/$$file Fetchdir/$$file > /dev/null 2>&1; then :; \
655 else \
656 stat=1; \
657 echo "install Fetchdir/$$file into srcdir and commit"; \
658 fi; \
659 done; exit $$stat
661 # Tell versions [3.59,3.63) of GNU make to not export all variables.
662 # Otherwise a system limit (for SysV at least) may be exceeded.
663 .NOEXPORT: