* configure.in: Updated to 1.4d and released.
[automake.git] / Makefile.in
blobdc079773453e2795b78fc602d81341535387fce4
1 # Makefile.in generated automatically by automake 1.4d 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 SHELL = @SHELL@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 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_STRIP_FLAG =
51 INSTALL_HEADER = $(INSTALL_DATA)
52 transform = @program_transform_name@
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
61 @SET_MAKE@
62 AMDEP = @AMDEP@
63 AMTAR = @AMTAR@
64 AWK = @AWK@
65 DEPDIR = @DEPDIR@
66 MAKEINFO = @MAKEINFO@
67 PACKAGE = @PACKAGE@
68 PERL = @PERL@
69 VERSION = @VERSION@
70 _am_include = @_am_include@
71 install_sh = @install_sh@
74 AUTOMAKE_OPTIONS = gnits 1.4
75 MAINT_CHARSET = latin1
77 SUBDIRS = . m4 tests
79 bin_SCRIPTS = automake aclocal
80 info_TEXINFOS = automake.texi
82 amfiles = check.am clean-hdr.am clean-kr.am clean.am comp-vars.am \
83 compile.am data-clean.am data.am dejagnu.am depend.am depend2.am \
84 dist.am distdir.am dist-vars.am footer.am header-vars.am header.am \
85 java-clean.am java.am kr-extra.am library.am libs-clean.am libs.am \
86 libtool.am lisp-clean.am lisp.am ltlib-clean.am ltlib.am ltlibrary.am \
87 mans-vars.am mans.am multilib.am program.am progs-clean.am progs.am \
88 python.am python-clean.am remake-hdr.am remake.am scripts.am \
89 subdirs.am tags-clean.am tags.am texi-vers.am texinfos.am
92 dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
93 $(amfiles)
96 scriptdir = $(pkgdatadir)
97 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
98 mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile
101 TAGS_FILES = automake.in aclocal.in $(amfiles)
103 # The following requires a fixed version of the Emacs 19.30 etags.
104 ETAGS_ARGS = --lang=none \
105 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
107 TAGS_DEPENDENCIES = automake.texi
109 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998
110 subdir = .
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
113 CONFIG_CLEAN_FILES = automake aclocal
114 SCRIPTS = $(bin_SCRIPTS)
116 DIST_SOURCES =
117 TEXI2DVI = texi2dvi
118 INFO_DEPS = automake.info
119 DVIS = automake.dvi
120 TEXINFOS = automake.texi
121 DATA = $(dist_pkgdata_DATA) $(dist_script_DATA)
123 DIST_COMMON = README $(dist_pkgdata_DATA) $(dist_script_DATA) AUTHORS \
124 COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS README-alpha \
125 THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 ansi2knr.c automake.in \
126 compile config.guess config.sub configure configure.in depcomp \
127 elisp-comp install-sh mdate-sh missing mkinstalldirs py-compile \
128 stamp-vti texinfo.tex version.texi ylwrap
131 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
133 GZIP_ENV = --best
134 DIST_SUBDIRS = $(SUBDIRS)
135 all: all-recursive
136 .SUFFIXES:
137 .SUFFIXES: .dvi .info .ps .texi .texinfo .txi
138 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
139 cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile
141 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
142 cd $(top_builddir) \
143 && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
145 $(ACLOCAL_M4): configure.in
146 cd $(srcdir) && $(ACLOCAL)
148 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
149 $(SHELL) ./config.status --recheck
150 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
151 cd $(srcdir) && $(AUTOCONF)
152 automake: $(top_builddir)/config.status automake.in
153 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
154 aclocal: $(top_builddir)/config.status aclocal.in
155 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
157 install-binSCRIPTS: $(bin_SCRIPTS)
158 @$(NORMAL_INSTALL)
159 $(mkinstalldirs) $(DESTDIR)$(bindir)
160 @list='$(bin_SCRIPTS)'; for p in $$list; do \
161 f="`echo $$p|sed '$(transform)'`"; \
162 if test -f $$p; then \
163 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
164 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
165 elif test -f $(srcdir)/$$p; then \
166 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
167 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
168 else :; fi; \
169 done
171 uninstall-binSCRIPTS:
172 @$(NORMAL_UNINSTALL)
173 @list='$(bin_SCRIPTS)'; for p in $$list; do \
174 f="`echo $$p|sed '$(transform)'`"; \
175 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
176 rm -f $(DESTDIR)$(bindir)/$$f; \
177 done
179 $(srcdir)/version.texi: $(srcdir)/stamp-vti
182 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
183 @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/automake.texi`; \
184 echo "@set UPDATED $$1 $$2 $$3"; \
185 echo "@set UPDATED-MONTH $$2 $$3"; \
186 echo "@set EDITION $(VERSION)"; \
187 echo "@set VERSION $(VERSION)") > vti.tmp
188 @cmp -s vti.tmp $(srcdir)/version.texi \
189 || (echo "Updating $(srcdir)/version.texi"; \
190 cp vti.tmp $(srcdir)/version.texi)
191 -@rm -f vti.tmp
192 @cp $(srcdir)/version.texi $@
194 mostlyclean-vti:
195 -rm -f vti.tmp
197 maintainer-clean-vti:
198 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
200 automake.info: automake.texi $(srcdir)/version.texi
201 automake.dvi: automake.texi $(srcdir)/version.texi
204 DVIPS = dvips
206 .texi.info:
207 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
208 cd $(srcdir) \
209 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
211 .texi.dvi:
212 TEXINPUTS=$(srcdir):$$TEXINPUTS \
213 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
215 .texi:
216 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
217 cd $(srcdir) \
218 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
220 .texinfo.info:
221 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
222 cd $(srcdir) \
223 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
225 .texinfo:
226 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
227 cd $(srcdir) \
228 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
230 .texinfo.dvi:
231 TEXINPUTS=$(srcdir):$$TEXINPUTS \
232 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
234 .txi.info:
235 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
236 cd $(srcdir) \
237 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
239 .txi.dvi:
240 TEXINPUTS=$(srcdir):$$TEXINPUTS \
241 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
243 .txi:
244 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
245 cd $(srcdir) \
246 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
247 .dvi.ps:
248 $(DVIPS) $< -o $@
250 install-info-am: $(INFO_DEPS)
251 @$(NORMAL_INSTALL)
252 $(mkinstalldirs) $(DESTDIR)$(infodir)
253 @list='$(INFO_DEPS)'; \
254 for file in $$list; do \
255 d=$(srcdir); \
256 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
257 if test -f $$d/$$ifile; then \
258 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
259 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
260 else : ; fi; \
261 done; \
262 done
263 @$(POST_INSTALL)
264 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
265 list='$(INFO_DEPS)'; \
266 for file in $$list; do \
267 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
268 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
269 done; \
270 else : ; fi
272 uninstall-info:
273 $(PRE_UNINSTALL)
274 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
275 list='$(INFO_DEPS)'; \
276 for file in $$list; do \
277 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
278 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
279 done; \
280 else :; fi
281 @$(NORMAL_UNINSTALL)
282 @list='$(INFO_DEPS)'; \
283 for file in $$list; do \
284 (if cd $(DESTDIR)$(infodir); then \
285 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
286 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
287 else :; fi); \
288 done
290 dist-info: $(INFO_DEPS)
291 list='$(INFO_DEPS)'; \
292 for base in $$list; do \
293 d=$(srcdir); \
294 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
295 test -f $(distdir)/$$file \
296 || cp -p $$d/$$file $(distdir)/$$file; \
297 done; \
298 done
300 mostlyclean-aminfo:
301 -rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
302 automake.fns automake.pgs automake.ky automake.kys \
303 automake.ps automake.log automake.pg automake.toc automake.tp \
304 automake.tps automake.vr automake.vrs automake.op automake.tr \
305 automake.cv automake.cn automake.cm automake.ov
307 maintainer-clean-aminfo:
308 cd $(srcdir) && \
309 for i in $(INFO_DEPS); do \
310 rm -f $$i; \
311 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
312 rm -f $$i-[0-9]*; \
313 fi; \
314 done
316 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
317 @$(NORMAL_INSTALL)
318 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
319 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
320 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
321 f="`echo $$p | sed -e 's|^.*/||'`"; \
322 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
323 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
324 done
326 uninstall-dist_pkgdataDATA:
327 @$(NORMAL_UNINSTALL)
328 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
329 f="`echo $$p | sed -e 's|^.*/||'`"; \
330 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
331 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
332 done
334 install-dist_scriptDATA: $(dist_script_DATA)
335 @$(NORMAL_INSTALL)
336 $(mkinstalldirs) $(DESTDIR)$(scriptdir)
337 @list='$(dist_script_DATA)'; for p in $$list; do \
338 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
339 f="`echo $$p | sed -e 's|^.*/||'`"; \
340 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
341 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
342 done
344 uninstall-dist_scriptDATA:
345 @$(NORMAL_UNINSTALL)
346 @list='$(dist_script_DATA)'; for p in $$list; do \
347 f="`echo $$p | sed -e 's|^.*/||'`"; \
348 echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
349 rm -f $(DESTDIR)$(scriptdir)/$$f; \
350 done
352 # This directory's subdirectories are mostly independent; you can cd
353 # into them and run `make' without going through this Makefile.
354 # To change the values of `make' variables: instead of editing Makefiles,
355 # (1) if the variable is set in `config.status', edit `config.status'
356 # (which will cause the Makefiles to be regenerated when you run `make');
357 # (2) otherwise, pass the desired values on the `make' command line.
358 all-recursive install-data-recursive install-exec-recursive \
359 installdirs-recursive install-recursive uninstall-recursive \
360 check-recursive installcheck-recursive info-recursive dvi-recursive:
361 @set fnord $(MAKEFLAGS); amf=$$2; \
362 dot_seen=no; \
363 target=`echo $@ | sed s/-recursive//`; \
364 list='$(SUBDIRS)'; for subdir in $$list; do \
365 echo "Making $$target in $$subdir"; \
366 if test "$$subdir" = "."; then \
367 dot_seen=yes; \
368 local_target="$$target-am"; \
369 else \
370 local_target="$$target"; \
371 fi; \
372 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
373 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
374 done; \
375 if test "$$dot_seen" = "no"; then \
376 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
377 fi; test -z "$$fail"
379 mostlyclean-recursive clean-recursive distclean-recursive \
380 maintainer-clean-recursive:
381 @set fnord $(MAKEFLAGS); amf=$$2; \
382 dot_seen=no; \
383 case "$@" in \
384 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
385 *) list='$(SUBDIRS)' ;; \
386 esac; \
387 rev=''; for subdir in $$list; do \
388 if test "$$subdir" = "."; then :; else \
389 rev="$$subdir $$rev"; \
390 fi; \
391 done; \
392 rev="$$rev ."; \
393 target=`echo $@ | sed s/-recursive//`; \
394 for subdir in $$rev; do \
395 echo "Making $$target in $$subdir"; \
396 if test "$$subdir" = "."; then \
397 local_target="$$target-am"; \
398 else \
399 local_target="$$target"; \
400 fi; \
401 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
402 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
403 done && test -z "$$fail"
404 tags-recursive:
405 list='$(SUBDIRS)'; for subdir in $$list; do \
406 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
407 done
409 tags: TAGS
411 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
412 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
413 unique=`for i in $$list; do \
414 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
415 done | \
416 $(AWK) ' { files[$$0] = 1; } \
417 END { for (i in files) print i; }'`; \
418 mkid -fID $$unique $(LISP)
420 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
421 $(TAGS_FILES) $(LISP)
422 tags=; \
423 here=`pwd`; \
424 list='$(SUBDIRS)'; for subdir in $$list; do \
425 if test "$$subdir" = .; then :; else \
426 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
427 fi; \
428 done; \
429 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
430 unique=`for i in $$list; do \
431 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
432 done | \
433 $(AWK) ' { files[$$0] = 1; } \
434 END { for (i in files) print i; }'`; \
435 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
436 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
438 GTAGS:
439 here=`CDPATH=: && cd $(top_builddir) && pwd` \
440 && cd $(top_srcdir) \
441 && gtags -i $$here
443 distclean-tags:
444 -rm -f TAGS ID
446 distdir = $(PACKAGE)-$(VERSION)
447 top_distdir = $(distdir)
450 # This target untars the dist file and tries a VPATH configuration. Then
451 # it guarantees that the distribution is self-contained by making another
452 # tarfile.
453 distcheck: dist
454 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
455 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
456 chmod -R a-w $(distdir); chmod a+w $(distdir)
457 mkdir $(distdir)/=build
458 mkdir $(distdir)/=inst
459 chmod a-w $(distdir)
460 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
461 && cd $(distdir)/=build \
462 && ../configure --srcdir=.. --prefix=$$dc_install_base \
463 && $(MAKE) $(AM_MAKEFLAGS) \
464 && $(MAKE) $(AM_MAKEFLAGS) dvi \
465 && $(MAKE) $(AM_MAKEFLAGS) check \
466 && $(MAKE) $(AM_MAKEFLAGS) install \
467 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
468 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
469 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
470 && $(MAKE) $(AM_MAKEFLAGS) dist \
471 && $(MAKE) $(AM_MAKEFLAGS) distclean \
472 && rm -f $(distdir).tar.gz \
473 && test `find . -type f -print | wc -l` -eq 0
474 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
475 @banner="$(distdir).tar.gz is ready for distribution"; \
476 dashes=`echo "$$banner" | sed s/./=/g`; \
477 echo "$$dashes"; \
478 echo "$$banner"; \
479 echo "$$dashes"
480 dist: distdir
481 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
482 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
483 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
484 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
485 || chmod -R a+r $(distdir)
486 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
487 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
488 dist-all: distdir
489 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
490 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
491 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
492 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
493 || chmod -R a+r $(distdir)
494 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
495 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
497 distdir: $(DISTFILES)
498 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
499 echo "NEWS not updated; not releasing" 1>&2; \
500 exit 1; \
502 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
503 mkdir $(distdir)
504 $(mkinstalldirs) $(distdir)/. .
505 @for file in $(DISTFILES); do \
506 d=$(srcdir); \
507 if test -d $$d/$$file; then \
508 cp -pR $$d/$$file $(distdir) \
509 || exit 1; \
510 else \
511 test -f $(distdir)/$$file \
512 || cp -p $$d/$$file $(distdir)/$$file \
513 || exit 1; \
514 fi; \
515 done
516 for subdir in $(SUBDIRS); do \
517 if test "$$subdir" = .; then :; else \
518 test -d $(distdir)/$$subdir \
519 || mkdir $(distdir)/$$subdir \
520 || exit 1; \
521 (cd $$subdir && \
522 $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
523 || exit 1; \
524 fi; \
525 done
526 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
527 info-am: $(INFO_DEPS)
528 info: info-recursive
529 dvi-am: $(DVIS)
530 dvi: dvi-recursive
531 check-am: all-am
532 check: check-recursive
533 installcheck-am: installcheck-local
534 installcheck: installcheck-recursive
535 install-exec-am: install-binSCRIPTS
536 install-exec: install-exec-recursive
538 install-data-am: install-info-am install-dist_pkgdataDATA \
539 install-dist_scriptDATA
540 @$(NORMAL_INSTALL)
541 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
542 install-data: install-data-recursive
544 install-am: all-am
545 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
546 install: install-recursive
547 uninstall-am: uninstall-binSCRIPTS uninstall-info \
548 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA
549 uninstall: uninstall-recursive
550 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
551 install-strip:
552 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
553 installdirs: installdirs-recursive
554 installdirs-am:
555 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
556 $(DESTDIR)$(dist_pkgdatadir) \
557 $(DESTDIR)$(dist_scriptdir)
560 mostlyclean-generic:
562 clean-generic:
564 distclean-generic:
565 -rm -f Makefile $(CONFIG_CLEAN_FILES)
566 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
568 maintainer-clean-generic:
569 @echo "This command is intended for maintainers to use"
570 @echo "it deletes files that may require special tools to rebuild."
571 -rm -f Makefile.in
572 clean: clean-recursive
574 clean-am: clean-generic mostlyclean-am
576 distclean: distclean-recursive
577 -rm -f config.status
579 distclean-am: clean-am distclean-generic distclean-tags
581 maintainer-clean: maintainer-clean-recursive
582 -rm -f config.status
584 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
585 maintainer-clean-generic maintainer-clean-vti
587 mostlyclean: mostlyclean-recursive
589 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
591 .PHONY: all-recursive check check-am check-recursive clean clean-generic \
592 clean-recursive distclean distclean-generic distclean-recursive \
593 distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
594 info-recursive install install-am install-binSCRIPTS \
595 install-data install-data-am install-data-recursive \
596 install-dist_pkgdataDATA install-dist_scriptDATA install-exec \
597 install-exec-am install-exec-recursive install-info-am \
598 install-recursive install-strip installcheck installcheck-am \
599 installcheck-local installcheck-recursive installdirs \
600 installdirs-am installdirs-recursive maintainer-clean \
601 maintainer-clean-aminfo maintainer-clean-generic \
602 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
603 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
604 mostlyclean-vti tags tags-recursive uninstall uninstall-am \
605 uninstall-binSCRIPTS uninstall-dist_pkgdataDATA \
606 uninstall-dist_scriptDATA uninstall-info uninstall-recursive
609 install-data-hook:
610 @$(POST_INSTALL)
611 @for prog in $(dist_script_DATA); do \
612 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
613 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
614 done
616 installcheck-local:
617 for file in $(dist_script_DATA); do \
618 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
619 done
621 ################################################################
623 # Some simple checks, and then ordinary check. These are only really
624 # guaranteed to work on my machine.
625 maintainer-check: automake aclocal
626 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
627 echo "found too many diffs between automake.in and automake"; 1>&2; \
628 diff -c $(srcdir)/automake.in automake; \
629 exit 1; \
631 $(PERL) -c -w automake
632 $(PERL) -c -w aclocal
633 @if fgrep '\$${' $(srcdir)/[a-z]*.am | \
634 fgrep -v '$$$$' | \
635 grep . ; then \
636 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
637 exit 1; \
638 else :; fi
639 @if fgrep -n 'mkinstalldirs' $(srcdir)/[a-z]*.am | \
640 fgrep -v '$$(mkinstalldirs)' | \
641 grep . ; then \
642 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
643 exit 1; \
644 else :; fi
645 @if grep -n -w undef $(srcdir)/automake.in; then \
646 echo "Found undef in automake.in; use delete instead" 1>&2; \
647 exit 1; \
649 @if fgrep -n 'split (/ /' $(srcdir)/automake.in; then \
650 echo "Found bad split in the lines above." 1>&2; \
651 exit 1; \
653 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in $(srcdir)/*.am \
654 $(srcdir)/m4/*.m4; then \
655 echo "Consider setting CDPATH in the lines above" 1>&2; \
656 exit 1; \
658 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
659 echo "Using @_ in a scalar context in the lines above." 1>&2; \
660 exit 1; \
663 # Tag before making distribution. Also, don't make a distribution if
664 # checks fail. Also, make sure the NEWS file is up-to-date.
665 cvs-dist: maintainer-check distcheck
666 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
667 echo "NEWS not updated; not releasing" 1>&2; \
668 exit 1; \
670 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
671 $(MAKE) dist
673 cvs-diff:
674 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
675 if test -z "$$OLDVERSION"; then \
676 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
677 else prevno="$$OLDVERSION"; fi; \
678 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
679 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
680 > $(PACKAGE)-$$prevno-$(VERSION).diff
682 path-check: distdir
683 (cd $(distdir) && \
684 find . -print | xargs pathchk -p); \
685 status=$$?; \
686 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
687 exit $$status
689 # Tell versions [3.59,3.63) of GNU make to not export all variables.
690 # Otherwise a system limit (for SysV at least) may be exceeded.
691 .NOEXPORT: