Clarify overriding of `*_DEPENDENCIES' in LIBOBJS node.
[automake/ericb.git] / Makefile.in
blob41dc876ca89805f9a38777e4aa3a04b7b40241a3
1 # Makefile.in generated by automake 1.10a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 subdir = .
36 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
37 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
38 ChangeLog INSTALL NEWS THANKS TODO
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
41 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
42 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
43 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
44 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
45 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
46 $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
47 $(top_srcdir)/configure.ac
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 $(ACLOCAL_M4)
50 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51 configure.lineno config.status.lineno
52 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
53 CONFIG_CLEAN_FILES =
54 CONFIG_CLEAN_VPATH_FILES =
55 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
56 am__vpath_adj = case $$p in \
57 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58 *) f=$$p;; \
59 esac;
60 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
61 am__install_max = 40
62 am__nobase_strip_setup = \
63 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
64 am__nobase_strip = \
65 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
66 am__nobase_list = $(am__nobase_strip_setup); \
67 for p in $$list; do echo "$$p $$p"; done | \
68 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
69 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
70 if (++n[$$2] == $(am__install_max)) \
71 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
72 END { for (dir in files) print dir, files[dir] }'
73 am__base_list = \
74 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
75 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
76 am__installdirs = "$(DESTDIR)$(bindir)"
77 SCRIPTS = $(bin_SCRIPTS)
78 SOURCES =
79 DIST_SOURCES =
80 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
81 html-recursive info-recursive install-data-recursive \
82 install-dvi-recursive install-exec-recursive \
83 install-html-recursive install-info-recursive \
84 install-pdf-recursive install-ps-recursive install-recursive \
85 installcheck-recursive installdirs-recursive pdf-recursive \
86 ps-recursive uninstall-recursive
87 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
88 distclean-recursive maintainer-clean-recursive
89 ETAGS = etags
90 CTAGS = ctags
91 DIST_SUBDIRS = $(SUBDIRS)
92 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
93 distdir = $(PACKAGE)-$(VERSION)
94 top_distdir = $(distdir)
95 am__remove_distdir = \
96 { test ! -d "$(distdir)" \
97 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
98 && rm -fr "$(distdir)"; }; }
99 am__relativize = \
100 dir0=`pwd`; \
101 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
102 sed_rest='s,^[^/]*/*,,'; \
103 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
104 sed_butlast='s,/*[^/]*$$,,'; \
105 while test -n "$$dir1"; do \
106 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
107 if test "$$first" != "."; then \
108 if test "$$first" = ".."; then \
109 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
110 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
111 else \
112 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
113 if test "$$first2" = "$$first"; then \
114 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
115 else \
116 dir2="../$$dir2"; \
117 fi; \
118 dir0="$$dir0"/"$$first"; \
119 fi; \
120 fi; \
121 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
122 done; \
123 reldir="$$dir2"
124 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
125 GZIP_ENV = --best
126 distuninstallcheck_listfiles = find . -type f -print
127 distcleancheck_listfiles = find . -type f -print
128 ACLOCAL = @ACLOCAL@
129 AMTAR = @AMTAR@
130 APIVERSION = @APIVERSION@
131 AUTOCONF = @AUTOCONF@
132 AUTOHEADER = @AUTOHEADER@
133 AUTOMAKE = @AUTOMAKE@
134 AWK = @AWK@
135 CYGPATH_W = @CYGPATH_W@
136 DEFS = @DEFS@
137 ECHO_C = @ECHO_C@
138 ECHO_N = @ECHO_N@
139 ECHO_T = @ECHO_T@
140 EGREP = @EGREP@
141 FGREP = @FGREP@
142 GREP = @GREP@
143 HELP2MAN = @HELP2MAN@
144 INSTALL = @INSTALL@
145 INSTALL_DATA = @INSTALL_DATA@
146 INSTALL_PROGRAM = @INSTALL_PROGRAM@
147 INSTALL_SCRIPT = @INSTALL_SCRIPT@
148 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
149 LIBOBJS = @LIBOBJS@
150 LIBS = @LIBS@
151 LN = @LN@
152 LTLIBOBJS = @LTLIBOBJS@
153 MAKEINFO = @MAKEINFO@
154 MKDIR_P = @MKDIR_P@
155 MODIFICATION_DELAY = @MODIFICATION_DELAY@
156 PACKAGE = @PACKAGE@
157 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
158 PACKAGE_NAME = @PACKAGE_NAME@
159 PACKAGE_STRING = @PACKAGE_STRING@
160 PACKAGE_TARNAME = @PACKAGE_TARNAME@
161 PACKAGE_VERSION = @PACKAGE_VERSION@
162 PATH_SEPARATOR = @PATH_SEPARATOR@
163 PERL = @PERL@
164 PERL_THREADS = @PERL_THREADS@
165 SET_MAKE = @SET_MAKE@
166 SHELL = @SHELL@
167 STRIP = @STRIP@
168 TEX = @TEX@
169 VERSION = @VERSION@
170 abs_builddir = @abs_builddir@
171 abs_srcdir = @abs_srcdir@
172 abs_top_builddir = @abs_top_builddir@
173 abs_top_srcdir = @abs_top_srcdir@
174 am_AUTOCONF = @am_AUTOCONF@
175 am_AUTOHEADER = @am_AUTOHEADER@
176 am__leading_dot = @am__leading_dot@
177 am__tar = @am__tar@
178 am__untar = @am__untar@
179 bindir = @bindir@
180 build = @build@
181 build_alias = @build_alias@
182 build_cpu = @build_cpu@
183 build_os = @build_os@
184 build_vendor = @build_vendor@
185 builddir = @builddir@
186 datadir = @datadir@
187 datarootdir = @datarootdir@
188 docdir = @docdir@
189 dvidir = @dvidir@
190 exec_prefix = @exec_prefix@
191 host_alias = @host_alias@
192 htmldir = @htmldir@
193 includedir = @includedir@
194 infodir = @infodir@
195 install_sh = @install_sh@
196 libdir = @libdir@
197 libexecdir = @libexecdir@
198 localedir = @localedir@
199 localstatedir = @localstatedir@
200 mandir = @mandir@
201 mkdir_p = @mkdir_p@
202 oldincludedir = @oldincludedir@
203 pdfdir = @pdfdir@
204 pkgvdatadir = @pkgvdatadir@
205 prefix = @prefix@
206 program_transform_name = @program_transform_name@
207 psdir = @psdir@
208 sbindir = @sbindir@
209 sharedstatedir = @sharedstatedir@
210 srcdir = @srcdir@
211 sysconfdir = @sysconfdir@
212 target_alias = @target_alias@
213 top_build_prefix = @top_build_prefix@
214 top_builddir = @top_builddir@
215 top_srcdir = @top_srcdir@
216 SUBDIRS = lib . doc m4 tests
217 bin_SCRIPTS = automake aclocal
218 CLEANFILES = $(bin_SCRIPTS)
219 AUTOMAKESOURCES = automake.in aclocal.in
220 TAGS_FILES = $(AUTOMAKESOURCES)
221 EXTRA_DIST = \
222 ChangeLog.96 \
223 ChangeLog.98 \
224 ChangeLog.00 \
225 ChangeLog.01 \
226 ChangeLog.02 \
227 ChangeLog.03 \
228 ChangeLog.04 \
229 $(AUTOMAKESOURCES)
231 do_subst = sed \
232 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
233 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
234 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
235 -e 's,[@]PERL[@],$(PERL),g' \
236 -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
237 -e 's,[@]SHELL[@],$(SHELL),g' \
238 -e 's,[@]VERSION[@],$(VERSION),g' \
239 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
240 -e 's,[@]datadir[@],$(datadir),g'
242 WGET = wget
243 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
244 WGET_SV_GIT_CF = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
245 WGET_SV_GIT_AC = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
246 WGET_SV_GIT_GL = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
247 WGET_GCC = $(WGET) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
248 FETCHFILES = \
249 INSTALL \
250 config-ml.in \
251 config.guess \
252 config.sub \
253 symlink-tree \
254 texinfo.tex
256 all: all-recursive
258 .SUFFIXES:
259 am--refresh:
261 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
262 @for dep in $?; do \
263 case '$(am__configure_deps)' in \
264 *$$dep*) \
265 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
266 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
267 && exit 0; \
268 exit 1;; \
269 esac; \
270 done; \
271 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
272 $(am__cd) $(top_srcdir) && \
273 $(AUTOMAKE) --gnu Makefile
274 .PRECIOUS: Makefile
275 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
276 @case '$?' in \
277 *config.status*) \
278 echo ' $(SHELL) ./config.status'; \
279 $(SHELL) ./config.status;; \
280 *) \
281 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
282 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
283 esac;
285 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
286 $(SHELL) ./config.status --recheck
288 $(top_srcdir)/configure: $(am__configure_deps)
289 $(am__cd) $(srcdir) && $(AUTOCONF)
290 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
291 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
292 $(am__aclocal_m4_deps):
293 install-binSCRIPTS: $(bin_SCRIPTS)
294 @$(NORMAL_INSTALL)
295 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
296 @list='$(bin_SCRIPTS)'; \
297 for p in $$list; do \
298 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
299 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
300 done | \
301 sed -e 'p;s,.*/,,;n' \
302 -e 'h;s|.*|.|' \
303 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
304 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
305 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
306 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
307 if (++n[d] == $(am__install_max)) { \
308 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
309 else { print "f", d "/" $$4, $$1 } } \
310 END { for (d in files) print "f", d, files[d] }' | \
311 while read type dir files; do \
312 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
313 test -z "$$files" || { \
314 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
315 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
317 ; done
319 uninstall-binSCRIPTS:
320 @$(NORMAL_UNINSTALL)
321 @list='$(bin_SCRIPTS)'; \
322 files=`for p in $$list; do echo "$$p"; done | \
323 sed -e 's,.*/,,;$(transform)'`; \
324 test -n "$$list" || exit 0; \
325 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
326 cd "$(DESTDIR)$(bindir)" && rm -f $$files
328 # This directory's subdirectories are mostly independent; you can cd
329 # into them and run `make' without going through this Makefile.
330 # To change the values of `make' variables: instead of editing Makefiles,
331 # (1) if the variable is set in `config.status', edit `config.status'
332 # (which will cause the Makefiles to be regenerated when you run `make');
333 # (2) otherwise, pass the desired values on the `make' command line.
334 $(RECURSIVE_TARGETS):
335 @failcom='exit 1'; \
336 for f in x $$MAKEFLAGS; do \
337 case $$f in \
338 *=* | --[!k]*);; \
339 *k*) failcom='fail=yes';; \
340 esac; \
341 done; \
342 dot_seen=no; \
343 target=`echo $@ | sed s/-recursive//`; \
344 list='$(SUBDIRS)'; for subdir in $$list; do \
345 echo "Making $$target in $$subdir"; \
346 if test "$$subdir" = "."; then \
347 dot_seen=yes; \
348 local_target="$$target-am"; \
349 else \
350 local_target="$$target"; \
351 fi; \
352 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
353 || eval $$failcom; \
354 done; \
355 if test "$$dot_seen" = "no"; then \
356 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
357 fi; test -z "$$fail"
359 $(RECURSIVE_CLEAN_TARGETS):
360 @failcom='exit 1'; \
361 for f in x $$MAKEFLAGS; do \
362 case $$f in \
363 *=* | --[!k]*);; \
364 *k*) failcom='fail=yes';; \
365 esac; \
366 done; \
367 dot_seen=no; \
368 case "$@" in \
369 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
370 *) list='$(SUBDIRS)' ;; \
371 esac; \
372 rev=''; for subdir in $$list; do \
373 if test "$$subdir" = "."; then :; else \
374 rev="$$subdir $$rev"; \
375 fi; \
376 done; \
377 rev="$$rev ."; \
378 target=`echo $@ | sed s/-recursive//`; \
379 for subdir in $$rev; do \
380 echo "Making $$target in $$subdir"; \
381 if test "$$subdir" = "."; then \
382 local_target="$$target-am"; \
383 else \
384 local_target="$$target"; \
385 fi; \
386 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
387 || eval $$failcom; \
388 done && test -z "$$fail"
389 tags-recursive:
390 list='$(SUBDIRS)'; for subdir in $$list; do \
391 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
392 done
393 ctags-recursive:
394 list='$(SUBDIRS)'; for subdir in $$list; do \
395 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
396 done
398 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
399 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
400 unique=`for i in $$list; do \
401 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
402 done | \
403 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
404 END { if (nonempty) { for (i in files) print i; }; }'`; \
405 mkid -fID $$unique
406 tags: TAGS
408 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
409 $(TAGS_FILES) $(LISP)
410 set x; \
411 here=`pwd`; \
412 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
413 include_option=--etags-include; \
414 empty_fix=.; \
415 else \
416 include_option=--include; \
417 empty_fix=; \
418 fi; \
419 list='$(SUBDIRS)'; for subdir in $$list; do \
420 if test "$$subdir" = .; then :; else \
421 test ! -f $$subdir/TAGS || \
422 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
423 fi; \
424 done; \
425 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
426 unique=`for i in $$list; do \
427 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
428 done | \
429 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
430 END { if (nonempty) { for (i in files) print i; }; }'`; \
431 shift; \
432 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
433 test -n "$$unique" || unique=$$empty_fix; \
434 if test $$# -gt 0; then \
435 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
436 "$$@" $$unique; \
437 else \
438 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
439 $$unique; \
440 fi; \
442 ctags: CTAGS
443 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
444 $(TAGS_FILES) $(LISP)
445 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
446 unique=`for i in $$list; do \
447 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
448 done | \
449 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
450 END { if (nonempty) { for (i in files) print i; }; }'`; \
451 test -z "$(CTAGS_ARGS)$$unique" \
452 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
453 $$unique
455 GTAGS:
456 here=`$(am__cd) $(top_builddir) && pwd` \
457 && $(am__cd) $(top_srcdir) \
458 && gtags -i $(GTAGS_ARGS) "$$here"
460 distclean-tags:
461 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
463 distdir: $(DISTFILES)
464 $(am__remove_distdir)
465 test -d "$(distdir)" || mkdir "$(distdir)"
466 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
467 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
468 list='$(DISTFILES)'; \
469 dist_files=`for file in $$list; do echo $$file; done | \
470 sed -e "s|^$$srcdirstrip/||;t" \
471 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
472 case $$dist_files in \
473 */*) $(MKDIR_P) `echo "$$dist_files" | \
474 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
475 sort -u` ;; \
476 esac; \
477 for file in $$dist_files; do \
478 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
479 if test -d $$d/$$file; then \
480 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
481 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
482 cp -pR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
483 fi; \
484 cp -pR $$d/$$file "$(distdir)$$dir" || exit 1; \
485 else \
486 test -f "$(distdir)/$$file" \
487 || cp -p $$d/$$file "$(distdir)/$$file" \
488 || exit 1; \
489 fi; \
490 done
491 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
492 if test "$$subdir" = .; then :; else \
493 test -d "$(distdir)/$$subdir" \
494 || $(MKDIR_P) "$(distdir)/$$subdir" \
495 || exit 1; \
496 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
497 $(am__relativize); \
498 new_distdir=$$reldir; \
499 dir1=$$subdir; dir2="$(top_distdir)"; \
500 $(am__relativize); \
501 new_top_distdir=$$reldir; \
502 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
503 echo " am__remove_distdir=: am__skip_length_check=: distdir)"; \
504 ($(am__cd) $$subdir && \
505 $(MAKE) $(AM_MAKEFLAGS) \
506 top_distdir="$$new_top_distdir" \
507 distdir="$$new_distdir" \
508 am__remove_distdir=: \
509 am__skip_length_check=: \
510 distdir) \
511 || exit 1; \
512 fi; \
513 done
514 $(MAKE) $(AM_MAKEFLAGS) \
515 top_distdir="$(top_distdir)" distdir="$(distdir)" \
516 dist-hook
517 -find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
518 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
519 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
520 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
521 || chmod -R a+r "$(distdir)"
522 @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
523 grep '^...................................................................................................' 1>&2; then \
524 echo 'error: the above filenames are too long' 1>&2; \
525 exit 1; \
526 else :; fi
527 dist-gzip: distdir
528 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
529 $(am__remove_distdir)
530 dist-bzip2: distdir
531 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
532 $(am__remove_distdir)
534 dist-lzma: distdir
535 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
536 $(am__remove_distdir)
538 dist-xz: distdir
539 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
540 $(am__remove_distdir)
542 dist-tarZ: distdir
543 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
544 $(am__remove_distdir)
546 dist-shar: distdir
547 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
548 $(am__remove_distdir)
550 dist-zip: distdir
551 -rm -f $(distdir).zip
552 zip -rq $(distdir).zip $(distdir)
553 $(am__remove_distdir)
555 dist dist-all: distdir
556 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
557 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
558 $(am__remove_distdir)
560 # This target untars the dist file and tries a VPATH configuration. Then
561 # it guarantees that the distribution is self-contained by making another
562 # tarfile.
563 distcheck: dist
564 case '$(DIST_ARCHIVES)' in \
565 *.tar.gz*) \
566 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
567 *.tar.bz2*) \
568 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
569 *.tar.lzma*) \
570 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
571 *.tar.xz*) \
572 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
573 *.tar.Z*) \
574 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
575 *.shar.gz*) \
576 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
577 *.zip*) \
578 unzip $(distdir).zip ;;\
579 esac
580 chmod -R a-w $(distdir); chmod a+w $(distdir)
581 mkdir $(distdir)/_build
582 mkdir $(distdir)/_inst
583 chmod a-w $(distdir)
584 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
585 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
586 && $(am__cd) $(distdir)/_build \
587 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
588 $(DISTCHECK_CONFIGURE_FLAGS) \
589 && $(MAKE) $(AM_MAKEFLAGS) \
590 && $(MAKE) $(AM_MAKEFLAGS) dvi \
591 && $(MAKE) $(AM_MAKEFLAGS) check \
592 && $(MAKE) $(AM_MAKEFLAGS) install \
593 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
594 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
595 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
596 distuninstallcheck \
597 && chmod -R a-w "$$dc_install_base" \
598 && ({ \
599 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
600 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
601 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
602 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
603 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
604 } || { rm -rf "$$dc_destdir"; exit 1; }) \
605 && rm -rf "$$dc_destdir" \
606 && $(MAKE) $(AM_MAKEFLAGS) dist \
607 && rm -rf $(DIST_ARCHIVES) \
608 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
609 $(am__remove_distdir)
610 @(echo "$(distdir) archives ready for distribution: "; \
611 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
612 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
613 distuninstallcheck:
614 @$(am__cd) '$(distuninstallcheck_dir)' \
615 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
616 || { echo "ERROR: files left after uninstall:" ; \
617 if test -n "$(DESTDIR)"; then \
618 echo " (check DESTDIR support)"; \
619 fi ; \
620 $(distuninstallcheck_listfiles) ; \
621 exit 1; } >&2
622 distcleancheck: distclean
623 @if test '$(srcdir)' = . ; then \
624 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
625 exit 1 ; \
627 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
628 || { echo "ERROR: files left in build directory after distclean:" ; \
629 $(distcleancheck_listfiles) ; \
630 exit 1; } >&2
631 check-am: all-am
632 check: check-recursive
633 all-am: Makefile $(SCRIPTS)
634 installdirs: installdirs-recursive
635 installdirs-am:
636 for dir in "$(DESTDIR)$(bindir)"; do \
637 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
638 done
639 install: install-recursive
640 install-exec: install-exec-recursive
641 install-data: install-data-recursive
642 uninstall: uninstall-recursive
644 install-am: all-am
645 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
647 installcheck: installcheck-recursive
648 install-strip:
649 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
650 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
651 `test -z '$(STRIP)' || \
652 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
653 mostlyclean-generic:
655 clean-generic:
656 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
658 distclean-generic:
659 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
660 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
662 maintainer-clean-generic:
663 @echo "This command is intended for maintainers to use"
664 @echo "it deletes files that may require special tools to rebuild."
665 clean: clean-recursive
667 clean-am: clean-generic mostlyclean-am
669 distclean: distclean-recursive
670 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
671 -rm -f Makefile
672 distclean-am: clean-am distclean-generic distclean-tags
674 dvi: dvi-recursive
676 dvi-am:
678 html: html-recursive
680 info: info-recursive
682 info-am:
684 install-data-am:
686 install-dvi: install-dvi-recursive
688 install-exec-am: install-binSCRIPTS
689 @$(NORMAL_INSTALL)
690 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
691 install-html: install-html-recursive
693 install-info: install-info-recursive
695 install-man:
697 install-pdf: install-pdf-recursive
699 install-ps: install-ps-recursive
701 installcheck-am:
703 maintainer-clean: maintainer-clean-recursive
704 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
705 -rm -rf $(top_srcdir)/autom4te.cache
706 -rm -f Makefile
707 maintainer-clean-am: distclean-am maintainer-clean-generic
709 mostlyclean: mostlyclean-recursive
711 mostlyclean-am: mostlyclean-generic
713 pdf: pdf-recursive
715 pdf-am:
717 ps: ps-recursive
719 ps-am:
721 uninstall-am: uninstall-binSCRIPTS
722 @$(NORMAL_INSTALL)
723 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
724 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
725 install-exec-am install-strip uninstall-am
727 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
728 all all-am am--refresh check check-am clean clean-generic \
729 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
730 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
731 distcheck distclean distclean-generic distclean-tags \
732 distcleancheck distdir distuninstallcheck dvi dvi-am html \
733 html-am info info-am install install-am install-binSCRIPTS \
734 install-data install-data-am install-dvi install-dvi-am \
735 install-exec install-exec-am install-exec-hook install-html \
736 install-html-am install-info install-info-am install-man \
737 install-pdf install-pdf-am install-ps install-ps-am \
738 install-strip installcheck installcheck-am installdirs \
739 installdirs-am maintainer-clean maintainer-clean-generic \
740 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
741 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
742 uninstall-hook
745 install-exec-hook:
746 @$(POST_INSTALL)
747 @for p in $(bin_SCRIPTS); do \
748 f="`echo $$p|sed '$(transform)'`"; \
749 fv="$$f-$(APIVERSION)"; \
750 rm -f $(DESTDIR)$(bindir)/$$fv; \
751 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
752 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
753 done
755 uninstall-hook:
756 @for p in $(bin_SCRIPTS); do \
757 f="`echo $$p|sed '$(transform)'`"; \
758 fv="$$f-$(APIVERSION)"; \
759 rm -f $(DESTDIR)$(bindir)/$$fv; \
760 done
762 automake: automake.in
763 aclocal: aclocal.in
764 automake aclocal: Makefile
765 rm -f $@ $@.tmp
766 $(do_subst) $(srcdir)/$@.in >$@.tmp
767 chmod +x $@.tmp
768 chmod a-w $@.tmp
769 mv -f $@.tmp $@
771 INSTALL: lib/INSTALL
772 cp $(srcdir)/lib/INSTALL $@
774 ################################################################
776 # Ensure tests are world-executable
777 dist-hook:
778 cd $(distdir)/tests && chmod a+rx *.test
780 # Some simple checks, and then ordinary check. These are only really
781 # guaranteed to work on my machine.
782 maintainer-check: automake aclocal
783 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
784 echo "found too many diffs between automake.in and automake"; 1>&2; \
785 diff -c $(srcdir)/automake.in automake; \
786 exit 1; \
788 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
789 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
790 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
791 grep -F -v '$$$$'; then \
792 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
793 exit 1; \
794 else :; fi
795 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
796 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
797 echo "Suspicious 'rm' invocation." 1>&2; \
798 exit 1; \
799 else :; fi
800 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
801 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
802 exit 1; \
803 else :; fi
804 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
805 grep -F -v '$$(mkinstalldirs)'; then \
806 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
807 exit 1; \
808 else :; fi
809 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
810 $(srcdir)/lib/am/[a-z]*.am | \
811 grep -v ':##' | grep -v ': @\$$('; then \
812 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
813 exit 1; \
814 else :; fi
815 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
816 grep -F -v 'undef $$/'; then \
817 echo "Found undef in automake.in; use delete instead" 1>&2; \
818 exit 1; \
820 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
821 echo "Found bad split in the lines above." 1>&2; \
822 exit 1; \
824 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
825 $(srcdir)/lib/am/*.am; then \
826 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
827 exit 1; \
829 @if grep -n '^[^#]*cd ' $(srcdir)/automake.in \
830 $(srcdir)/lib/am/*.am | \
831 grep -v 'echo.*cd ' | \
832 grep -v 'am__cd =' | \
833 grep -v '^[^#]*cd [./]' | \
834 grep -v '^[^#]*cd \$$(top_builddir)' | \
835 grep -v '^[^#]*cd "\$$\$$am__cwd' | \
836 grep -v '^[^#]*cd \$$(abs' | \
837 grep -v '^[^#]*cd "\$$(DESTDIR)'; then \
838 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
839 exit 1; \
841 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
842 echo "Using @_ in a scalar context in the lines above." 1>&2; \
843 exit 1; \
845 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
846 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
847 exit 1; \
849 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
850 grep '^[ \t]*local [^*]'; then \
851 echo "Please avoid \`local'." 1>&2; \
852 exit 1; \
854 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
855 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
856 exit 1; \
858 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
859 grep -v 'AM_MAKEFLAGS'; then \
860 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
861 exit 1; \
863 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
864 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
865 exit 1; \
867 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
868 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
869 exit 1; \
871 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
872 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
873 exit 1; \
875 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
876 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
877 exit 1; \
879 @if grep '<<' $(srcdir)/tests/*.test | grep -v 'END' | grep -v 'EOF'; then \
880 echo 'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
881 exit 1; \
883 @found=false; for file in $(srcdir)/tests/*.test; do \
884 res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;}; /<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \
885 if test -n "$$res"; then \
886 echo "$$file:$$res"; \
887 found=true; \
888 fi; \
889 done; \
890 if $$found; then \
891 echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
892 exit 1; \
894 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*[eE]xit'; then \
895 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
896 exit 1; \
898 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
899 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
900 exit 1; \
902 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
903 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
904 exit 1; \
906 @for file in $(srcdir)/tests/*.test; do \
907 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
908 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
909 exit 1; \
910 fi; \
911 done
912 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
913 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
914 echo ' in the above lines, it is more portable.' 1>&2; \
915 exit 1; \
917 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
918 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
919 echo 'it is more portable.' 1>&2; \
920 exit 1; \
922 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
923 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
924 echo 'the above lines.' 1>&2; \
925 exit 1; \
927 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
928 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
929 exit 1; \
931 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
932 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
933 exit 1; \
935 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
936 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
937 exit 1; \
939 @if grep 'mkdir_p' $(srcdir)/automake.in \
940 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
941 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
942 exit 1; \
944 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
945 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
946 exit 1; \
948 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
949 echo "Unresolved @...@ substitution in automake" 1>&2; \
950 exit 1; \
951 fi; \
952 if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
953 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
954 exit 1; \
956 @if grep ' ' $(srcdir)/doc/automake.texi; then \
957 echo 'Do not use tabs in the manual.' 1>&2; \
958 exit 1; \
960 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
961 then \
962 echo 'Unescaped @.' 1>&2; \
963 exit 1; \
966 git-dist: maintainer-check
967 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
968 echo "NEWS not updated; not releasing" 1>&2; \
969 exit 1; \
971 $(MAKE) $(AM_MAKEFLAGS) distcheck
972 cd $(srcdir) && git commit -a -s && \
973 git tag -s "v$(VERSION)" -m "Release $(VERSION)"
975 git-release: git-dist
976 case $(VERSION) in \
977 *[a-z]) dest=alpha;; \
978 *) dest=ftp;; \
979 esac; \
980 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
981 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
983 git-diff:
984 thisver="v$(VERSION)"; \
985 if test -z "$$OLDVERSION"; then \
986 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
987 else prevno="$$OLDVERSION"; fi; \
988 prevver=v$$prevno; \
989 git diff $$prevver..$$thisver $(PACKAGE) \
990 > $(PACKAGE)-$$prevno-$(VERSION).diff
992 path-check: distdir
993 (cd $(distdir) && \
994 find . -print | xargs pathchk -p); \
995 status=$$?; \
996 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
997 exit $$status
999 fetch:
1000 rm -rf Fetchdir > /dev/null 2>&1
1001 mkdir Fetchdir
1002 (cd Fetchdir && \
1003 $(WGET_SV_GIT_CF)config.guess -O config.guess && \
1004 $(WGET_SV_GIT_CF)config.sub -O config.sub && \
1005 $(WGET_SV_CVS)texinfo/texinfo/doc/texinfo.tex -O texinfo.tex && \
1006 $(WGET_SV_GIT_GL)doc/INSTALL -O INSTALL && \
1007 $(WGET_GCC)config-ml.in -O config-ml.in && \
1008 $(WGET_GCC)symlink-tree -O symlink-tree)
1009 @stat=0; for file in $(FETCHFILES); do \
1010 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
1011 >>Fetchdir/update.patch 2>/dev/null; then :; \
1012 else \
1013 stat=1; \
1014 echo "Updating $(srcdir)/lib/$$file..."; \
1015 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1016 fi; \
1017 done; \
1018 test $$stat = 0 || \
1019 echo "See Fetchdir/update.patch for a log of the changes."; \
1020 exit $$stat
1022 release-stats: ps
1023 @am=`wc -l < automake` && \
1024 acl=`wc -l < aclocal` && \
1025 pmfiles="lib/Automake/*.pm" && \
1026 if test . != '$(srcdir)'; then pmfiles="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1027 else :; fi && \
1028 pm=`cat $$pmfiles | wc -l` && \
1029 dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1030 amf=`echo "$$dot_am_files" | wc -l` && \
1031 aml=`cat $$dot_am_files | wc -l` && \
1032 m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1033 m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1034 doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1035 rm -f doc/unused.ps && \
1036 doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1037 tests="tests/*.test"; \
1038 if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
1039 else :; fi && \
1040 t=`ls -1 $$tests | wc -l` && \
1041 tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
1042 today=`date +%Y-%m-%d` && \
1043 echo "add this to the table in doc/automake.texi after verification:" && \
1044 printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1045 $$today $(VERSION) $$am $$acl $$pm $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1046 .PHONY: release-stats
1048 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1049 # Otherwise a system limit (for SysV at least) may be exceeded.
1050 .NOEXPORT: