kc3-lang/automake/lib/am/distdir.am

Branch :


Log

Author Commit Date CI Message
8a894d1d 2003-12-27 01:38:42 * automake.in (maybe_push_required_file): Add $(srcdir) in front a required files outside the current directory or its subdirectories. * lib/am/distdir.am (distdir): Update comment. Report from Nicolas Joly.
2a8e1b17 2003-11-10 20:55:33 * automake.in (handle_configure): Distribute and define mkinstalldirs only if it is already present in the package. (scan_autoconf_files): Do not require mkinstalldirs. (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs). * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs). * m4/mkdirp.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P. * tests/Makefile.am (TESTS): Remove insh.test. * tests/insh.test: Delete. * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs. * tests/auxdir.test: Install mkinstalldirs. * tests/distdir.test, tests/instman.test, tests/pr2.test: Use $(mkdir_p), not $(mkinstalldirs). * tests/empty.test: Run configure, do not substitute things by hand. * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh as an example, not mkinstalldirs. (Auxiliary Programs) <mkinstalldirs>: Update.
51216089 2003-10-25 21:49:51 * tests/output7.test: Populate sub/ with a dummy file, so that it is not empty. This fixes a failure reported by Patrick Welche. * lib/am/distdir.am: Add note about tar's `-o' option and empty directories.
88f1bd81 2003-07-05 08:23:18 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for sed complex commands, as required by NetBSD sed. Reported by Patrick Welche.
3251a5a4 2003-07-02 20:53:07 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES from empty DIST_ARCHIVES.
7b15b184 2003-06-27 00:03:59 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir) at the end of distcheck. This was mistakenly removed on 2003-06-15. * tests/subpkg.test: Make sure distcheck cleans up after itself.
45bb4d83 2003-06-15 17:35:50 2003-06-15 Akim Demaille <akim@epita.fr> * automake.in (&make_paragraphs): Define %GZIP%. (&process_option_list): Accept no-dist-gzip2. (&handle_dist): Complain when no archive format is enabled. * lib/am/distdir.am (DIST_ARCHIVES): New variable. (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer conditioned. (dist): Build $(distdir).tar.gz conditionally. (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and to list built archives. Run $(MAKE) dist instead of dist-gzip. * automake.texi (Options, The types of distributions): Adjust.
c72520e2 2003-04-15 20:40:31 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silent these rules, so that we don't confuse users by echoing "echo ERROR:" commands which are not run.
f840b413 2003-02-19 20:06:39 * lib/am/distdir.am (distcheck): Strip any leading DOS drive from dc_install_base.
b1fe8738 2003-01-21 18:02:34 * lib/am/distdir.am (top_distdir, distdir): Define these variables only in top level Makefile. Redefine $(top_distdir) as $(distdir). (distdir): Fix passing of $(top_distdir) to sub-makes. * automake.in (handle_dist): Do not define the DISTDIR and TOP_DISTDIR transformations. We don't need them anymore. * automake.texi (Dist): Reorder the dist-hook section, and move the DIST_SUBDIRS paragraph earlier. Document distdir and top_distdir. * tests/subpkg.test: Update to check for $(distdir) and $(top_distdir).
a17b4312 2003-01-13 14:22:25 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames. Use '_build' and '_inst' instead of '=build' and '=inst'. * tests/man2.test: Reflect change automake: check for files in '_build' and '_inst' directories instead of '=build' and '=inst'.
e8b88ce8 2002-09-30 13:02:08 * lib/am/distdir.am (distdir): Create $dc_destdir right before its use. Reported by Akim Demaille.
6f7f6265 2002-09-30 12:32:21 Fix for PR automake/366: * automake.in (handle_dist): Strip $(srcdir) and replace $(top_srcdir) when computing DIST_COMMON directories. * tests/include2.test: Use an obsolute $(srcdir), and check for spurious directories in $(distdir)/sub. * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir). Reported by Kevin Ryde.
f0111d7e 2002-09-25 13:25:55 * NEWS: Mention distuninstallcheck. * automake.texi (Dist): Document new macro and target. * lib/am/distdir.am (distuninstallcheck_listfiles): New macro. (distuninstallcheck): New target. (distcheck): Use distuninstallcheck.
08891694 2002-09-23 22:33:50 * lib/am/distdir.am (distcleancheck): Mention `in build directory' in error message.
b677574a 2002-09-05 14:29:45 * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on distributed files, to workaround Sun make VPATH munging. This fixes subdircond2.test, subdircond3.test, and subpkg.test on Solaris. * tests/extra6.test, tests/lex3.test, tests/pr87.test, tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test, tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test: Don't require GNU make.
66786c9b 2002-09-05 10:25:06 * lib/am/distdir.am: Add missing `;'.
7bb1f82b 2002-06-08 16:56:11 For PR automake/317: * Makefile.am (maintainer-check): Disallow `for f in $(FILES)', suggest `list='$(FILES)'; for f in $$list' instead. * lib/am/distdir.am (distdir): Adjust `for' usage. * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise. * tests/dollar.test: New file. * tests/Makefile.am (TESTS): Add dollar.test. Reported by Eric Siegerman and Philip Fong.
3804a9e6 2002-05-30 12:15:26 (distdir): Don't assume that 'grep -F' works; instead, use shell pattern matching.
aaa0f8ba 2002-05-30 05:54:05 (distdir): fgrep -> grep -F. Use $(), not ${}, for Make variables.
7ee69d2e 2002-05-17 10:49:55 For PR automake/186: * lib/am/distdir.am (distcheck): Attempt a DESTDIR install. * tests/destdir.test: New file. * tests/Makefile.am (TESTS): Add destdir.test.
b3fab371 2002-03-26 10:48:37 * tests/extra7.test: New file. * tests/Makefile.am: Add it. * lib/am/distdir.an (distdir): When a distribuable directory exists both in `.' and $(srcdir), merge both directories. This works around a failure of extra6.test on Tru64 reported by Nicolas Joly.
9e3f96e6 2002-01-13 20:33:40 For PR automake/287: * lib/am/distdir.am (distdir): Use `$$list' trick when looping over subdirs. * tests/Makefile.am (TESTS): Added pr287.test. * tests/pr287.test: New file.
7f3cb5c9 2002-01-13 19:49:22 * lib/am/distdir.am (distdir): Handle subdirectories. * tests/extra6.test: New file. * tests/Makefile.am (TESTS): Add it.
275124b7 2001-12-30 13:53:01 * lib/am/distdir.am (distcleancheck_listfiles): Unquote. Reported by Yann Droneaud.
b0da2b11 2001-12-05 17:26:46 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS). * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS). Suggested by Merijn de Jonge.
7a48b264 2001-11-26 09:02:58 * lib/am/distdir.am (distcheck): Call distcleancheck. (distcleancheck_listfiles, distcleancheck): New, extracted from distcheck. * automake.texi (Checking the distribution): Document distcleancheck_listfiles and distcleancheck.
6ca00367 2001-11-09 17:39:46 * lib/am/distdir.am (distdir): Also look for directory in build directory first. (See 2001-05-14.) * tests/Makefile.am (TESTS): Add extra5.test. * tests/extra5.test: New file. From Dean Povey.
6879a6cf 2001-11-07 08:03:53 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
f46cdf8f 2001-11-05 19:52:57 (am__remove_distdir): New macro. Do not change permission of non-directories. Change only user permission, as there's no point to changing group or other permission. (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all, distcheck): Use it.
22e0da02 2001-10-02 16:00:04 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4. * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'. * lib/am/dejagnu.am (check-DEJAGNU): Likewise. * lib/am/distdir.am (distcheck): Likewise. * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without using cd so we don't have to fiddle with CDPATH. * lib/am/header-vars.am (am__cd): Define so as to support Zsh and DOSish path separator.
5ea0fa98 2001-10-01 07:09:01 * lib/am/distdir.am (distcheck): Report the trailing files. Run `dist-gzip', not `dist', as it may leave other distribution flavors.
65fb2841 2001-09-27 08:37:54 * lib/am/distdir.am (dist): Rename as... (dist-gzip): this. (dist): Additional name for dist-all. * automake.texi (Options, Dist): Adjust.
c3f036e2 2001-07-14 20:12:52 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca> * lib/am/distdir.am (distcheck): Emit diagnostic when files remain after "make uninstall".
1be94280 2001-05-15 02:21:54 Fix for yaccvpath.test: * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test. * lib/am/distdir.am (distdir): Always look for file in build directory first. * lib/ylwrap: Quote the `#line' regular expression. * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier change; don't run sed on the generated file. * tests/yaccvpath.test: Create new parser in srcdir. Added test to make sure parser will be rebuilt at dist time.
e37b4d8a 2001-05-14 05:09:31 Reported by Rainer Orth: * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on TOPDIR_P. * tests/Makefile.am (TESTS): Added distname.test. * tests/distname.test: New file.
c268d32c 2001-05-08 14:06:36 * distdir.am (dist-all): Build all the flavors using a single distdir.
482129a7 2001-05-06 19:00:23 * distdir.am (distdir): Make subdirectory for each file. Fixes test subobj5.test.
56a87bec 2001-04-10 12:41:05 * distdir.am: Add a missing backslash.
6ed11d3c 2001-04-09 09:55:12 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR. (&handle_dist): Don't. (&handle_clean): Don't handle config.status here, let... * clean.am: ... do it. * distdir.am: Adjust.
1bad33bb 2001-04-09 09:47:18 * distdir.am: Use and abuse of if/endif. * scripts.am: Using if/endif with variables is fine.
3ae89d51 2001-03-23 17:54:05 * automake.in (&variable_conditionally_defined): Rename as... (&check_variable_unconditionally_defined): this. (&variable_dump): Fix the output. (&variable_defined, &macro_define): Since conditions are canonicalized, don't use a loop to look for a condition: read the hash. (&macro_define, &rule_define, &read_am_file, &file_contents): Rename $cond_string as $cond. * distdir.am (PACKAGE, VERSION): Remove; since they are already discovered via AC_SUBST, they now trigger a `defined twice' error.
e8133bcf 2001-02-27 09:12:42 Distinguish automake substitutions from config.status substitutions. * automake.in (&add_depend2): Transform AMDEP. (&handle_clean): Transform MCFILES and MFILES. (&file_contents): Transform MAINTAINER_MODE. (&transform, &am_install_var): Use `%', not `@'. Adjust all the *.am files. * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN. * depend2.am: Display the double dependency on both ?AMDEP? and @AMDEP@.
833912f6 2001-02-27 08:07:57 * distdir.am (distcheck): Fixed new code. * tests/yaccvpath.test: Fail gracefully if bison/flex not found. Only configure once.
82833c2d 2001-02-27 07:55:17 * distdir.am (distcheck): Print error message if distclean failed to fully clean.
f037e98d 2001-02-26 09:54:24 * automake.in (&handle_dist): Use &transform instead of dedicated magic for DISTDIRS. But be sure to always do it. * distdir.am: Adjust.
7a0defee 2001-02-21 08:35:51 * dist-vars.am: Remove, merge into... * distdir.am: this. * automake.in (dirname, basename, backname): Move at the top of the file so that prototypes are checked, Use them without `&'. (&handle_dist): Adjust.
88e17dc5 2001-02-21 08:26:34 * dist.am: Remove, merge into... * distdir.am: here. Use the neat sed snippet for banners. BTW, distcheck is phony. * automake.in (&handle_dist_worker): Remove, merge into... (&handle_dist): this. (&file_contents): Strip leading new lines. Be sure to end comments with new lines.
9bd6e61e 2001-02-21 08:22:25 * distdir.am (GZIP_ENV): Define. * automake.in (&handle_dist): Don't. (&uniq): New. (&handle_dist_worker, &am_install_var): Use it.
964ec5a0 2001-02-21 08:21:43 * distdir.am (distdir): Handle the DIST-TARGETS. * automake.in (&handle_dist_worker): Don't.
dce352b1 2001-02-21 08:20:40 * distdir.am (distdir): Be sure to have permissive rights on its contents. (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional targets. And BTW, all these guys are phony. * automake.in (&handle_dist_worker): As its name doesn't indicate, output distributions. (&handle_dist): As its name doesn't indicate, don't. (&initialize_global_constants): Don't define variables which content is now handled by distdir.am. But register `dist-all' as a factored target. (&handle_factored_dependencies): Don't output empty targets.
4ec2083b 2001-02-09 03:38:16 * automake.in (&transform): Use `my', not `local'. (&transform_cond): New. (&get_object_extension, &handle_texinfo, &handle_tags) (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean) (&handle_tests_dejagnu): Use it. * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
bb9809a5 2001-02-04 16:50:49 Add.