Commit Graph

  • 1bc35a7ae7 tests: Allow run_make_test() to avoid passing -f Paul Smith 2022-02-26 17:19:42 -05:00
  • 8cdaabbf8e tests: Preserve Windows temp environment variables Paul Smith 2022-02-27 17:44:16 -05:00
  • 2be8661433 * tests/test_driver.pl: Support STDIN redirection. Paul Smith 2022-02-26 17:19:26 -05:00
  • 8b3e678ace Ensure buffers are large enough for integer values Paul Smith 2022-02-21 09:29:41 -05:00
  • ec09ec775a * <all>: Update copyright notices. Paul Smith 2022-02-10 14:48:26 -05:00
  • bdaeca49e9 * doc/make.1: Use "target" from the SYNOPSIS. Paul Smith 2022-02-06 17:53:48 -05:00
  • 342a9bb54b Don't write $(shell ...) stdout to stderr on failure Paul Smith 2022-02-06 16:22:40 -05:00
  • 6761122be0 * Basic.mk.template: Allow arguments to the check target. Paul Smith 2022-01-24 01:16:58 -05:00
  • 1fd0bfaf1e [SV 61805] Support quoted whitespace in .SHELLFLAGS with .ONESHELL Dmitry Goncharov 2022-01-24 00:57:28 -05:00
  • 8eb171e469 * tests/scripts/features/double_colon: Update for modern tests. Paul Smith 2022-01-23 15:46:56 -05:00
  • 7154e316b7 * tests/scripts/features/implicit_search: Add -r for safety. Paul Smith 2022-01-23 11:41:46 -05:00
  • f3e345c869 [SV 48643] Add more tests of intermediates and unrelated targets Dmitry Goncharov 2022-01-21 18:37:44 -05:00
  • d34f46c1f3 [SV 48643] Make prereqs mentioned in unrelated rules explicit Dmitry Goncharov 2022-01-21 18:29:23 -05:00
  • f0ab709640 * src/implicit.c (pattern_search): [SV 61864] Fix debug output. Dmitry Goncharov 2022-01-20 02:19:52 -05:00
  • 5f2d114c6d Avoid interleaved $(info ) output Paul Smith 2022-01-19 15:49:19 -08:00
  • cbe0d2e47f * tests/scripts/features/implicit_search: [SV 48643] Cleanups. Paul Smith 2022-01-19 19:45:12 -05:00
  • f485881d4a * src/implicit.c (pattern_search): Use const ptrs when possible. Paul Smith 2022-01-19 17:43:57 -05:00
  • 15db387f18 * src/job.c (load_too_high): Re-enable Linux /proc/loadavg checks. Paul Smith 2022-01-19 13:44:22 -05:00
  • aab51f7ef2 * doc/make.texi (Using One Shell): Correct example to use $<. Paul Smith 2022-01-18 16:06:24 -05:00
  • 2b25eac587 * src/function.c (parse_textint): Handle ints without 0 properly. Jouke Witteveen 2022-01-17 19:11:59 -05:00
  • e72c5e021f [SV 61226] Revert changes to detect missing included files Paul Smith 2022-01-17 18:23:42 -05:00
  • b6a779d262 Ensure that loaded functions increment the command count Paul Smith 2022-01-17 17:15:00 -05:00
  • 26f4bb89bd * src/read.c (tilde_expand): Put back '/' before returning. Paul Smith 2022-01-08 17:31:56 -05:00
  • 320714ae85 * tests/scripts/targets/INTERMEDIATE: Rewrite for new test method Paul Smith 2021-12-29 15:27:04 -05:00
  • 6682fbc2cb Do not force targets to be SECONDARY Paul Smith 2021-12-29 14:44:46 -05:00
  • f2b130bda8 [SV 48643] Preserve target-specific variables on intermediate files Dmitry Goncharov 2021-12-29 14:26:40 -05:00
  • 8aba33a8bd * README.template: Clean up patch submission information Paul Smith 2021-12-20 00:31:05 -05:00
  • d365bdfdbc * src/read.c (find_percent_cached): [SV 60798] Silence GCC11 warnings Jouke Witteveen 2021-12-19 16:19:02 -05:00
  • f440c3ebe2 [SV 60798] Silence bogus GCC10 and GCC11 warnings Jouke Witteveen 2021-12-19 16:09:07 -05:00
  • 3efba8a145 Update documentation with instructions for patch submission Paul Smith 2021-12-18 18:25:38 -05:00
  • e7b2f6818c Change HTTP URLs to use HTTPS instead Paul Smith 2021-12-18 18:23:16 -05:00
  • c90db9276a * src/makeint.h: Compute INTSTR_LENGTH based on size of intmax_t Paul Smith 2021-12-19 14:48:26 -05:00
  • 7192d0ec4a Remove arbitrary limits on intcmp integers Paul Eggert 2021-12-19 14:48:14 -05:00
  • 9230bfb9ae Use a well-known error string for out-of-bound function arguments Paul Smith 2021-12-18 18:11:30 -05:00
  • 55b993ae09 * doc/make.text (Wildcards): Document that glob results are sorted. Paul Smith 2021-12-05 15:16:26 -05:00
  • 1d20aa7247 [SV 61621] Don't use POSIX_SPAWN_RESETIDS with posix_spawn() Paul Smith 2021-12-05 14:22:43 -05:00
  • 21f7ac8f47 * .gitignore: Ignore patch files. Paul Smith 2021-12-05 14:21:47 -05:00
  • aa376ad638 * src/commands.c (fatal_error_signal) [W32]: Use %lu for DWORD. U2FsdGVkX1 2021-11-28 15:25:45 -05:00
  • 35b51df110 * NEWS: Update with author details Paul Smith 2021-11-28 14:34:05 -05:00
  • e62f4cf9a2 Special-case Windows error results Paul Smith 2021-11-28 14:17:55 -05:00
  • 116767901f Convert word, wordlist, and intcmp functions to use long long Paul Smith 2021-11-28 09:50:10 -05:00
  • 71eb0a8038 Introduce $(intcmp ...) for numerical comparison Jouke Witteveen 2021-07-16 14:04:41 +02:00
  • d9291d09b8 Use strtol() instead of atoi() Jouke Witteveen 2021-07-16 14:04:33 +02:00
  • f3ad572099 * src/makeint.h: Removed unused atol declaration Jouke Witteveen 2021-07-16 14:04:22 +02:00
  • cefe747e85 * src/implicit.c (pattern_search): Fix text for easier translation. Paul Smith 2021-11-27 15:08:56 -05:00
  • 3ecf97d3af [SV 48643] Update the implicit rule search docs Paul Smith 2021-11-27 21:57:37 -05:00
  • 21d3865973 [SV 48643] Enhance "ought to exist" definition Dmitry Goncharov 2021-11-27 22:00:05 -05:00
  • 29d92d4091 tests: Enhance output to contain filename/line number info Paul Smith 2021-11-27 14:03:44 -05:00
  • f8f9d371ff [SV 61042] Enhance logging of implicit rule search Dmitry Goncharov 2021-10-17 18:03:04 -04:00
  • f5af979357 * doc/make.texi (Special Targets): [SV 61122] Add .SECONDARY example Dmitry Goncharov 2021-10-02 15:19:15 -04:00
  • 76cb186732 * README.git: Update C version prerequisite Paul Smith 2021-10-17 19:07:36 -04:00
  • 6c06c547dc Add support for the POSIX :::= assignment operator. Paul Smith 2021-09-18 18:53:38 -04:00
  • c5d4b7b2f2 Clean up more Windows warnings. Paul Smith 2021-09-07 01:02:25 -04:00
  • 9e4b3d3f4c [SV 60435] Ensure intermediate grouped files are removed Dmitry Goncharov 2021-09-07 00:08:27 -04:00
  • 5a96d5a066 * src/default.c (default_variables): Use CPP in PREPROCESS.S. Paul Smith 2021-09-06 20:42:34 -04:00
  • 4488592dda * src/main.c (decode_debug_flags): [SV 607777] Preserve -d options Dmitry Goncharov 2021-09-06 20:36:15 -04:00
  • e7eb8b5962 [SV 57778] Don't ignore included makefiles that can't be read Dmitry Goncharov 2021-09-06 20:20:28 -04:00
  • 0c2fc00544 [SV 60795] Don't remake phony included makefiles and show errors Paul Smith 2021-09-06 17:47:04 -04:00
  • 214df0e92a * doc/make.texi (Environment): [SV 60841] Clarify variable exporting. Paul Smith 2021-09-06 10:57:43 -04:00
  • b2e898d0bf * doc/make.texi (Chained Rules): [SV 60904] Clarify intermediate files. Paul Smith 2021-09-06 10:46:52 -04:00
  • abb1e8d10b Remove UBSAN issues discovered via fuzzing tests. Paul Smith 2021-09-06 00:14:57 -04:00
  • cc6dc70b16 * doc/make.texi (Prerequisite Types): [SV 61069] Mention PHONY prereqs Paul Smith 2021-09-05 23:28:03 -04:00
  • 2638552859 * doc/make.1: Clean up man page text. Paul Smith 2021-09-05 23:17:26 -04:00
  • de48d6a4f7 * README.git: Add a section on ways to test. Paul Smith 2021-09-05 22:28:36 -04:00
  • 55f06bdc3f * src/main.c (decode_switches): Fix memory leak. Paul Smith 2021-09-05 22:28:10 -04:00
  • 0d367bbe6e Clean up a few Windows build warnings (not all!) Paul Smith 2021-09-05 21:07:14 -04:00
  • f4b8ddf260 [SV 45211] Parse MAKEFLAGS immediately when it's reset Paul Smith 2021-09-05 17:11:44 -04:00
  • e13fd5c83d * make-gdb.py: Add pretty-printers and clean up. Paul Smith 2021-07-25 17:19:09 -04:00
  • 7c4e6b0299 [SV 60595] Restart whenever any makefile is rebuilt Paul Smith 2021-05-31 14:37:09 -04:00
  • b9c4fc441b [SV 60412] Allow -I- to throw out the current directory path Paul Smith 2021-05-30 18:47:50 -04:00
  • 65b73ce434 [SV 60699] Avoid calling strlen() repeatedly in a loop Dmitry Goncharov 2021-05-30 16:21:22 -04:00
  • 2d73c9bf25 * NEWS: Add a few missing attributions Paul Smith 2021-05-30 15:52:32 -04:00
  • 33468b3f31 [SV 60297] Add .NOTINTERMEDIATE special target Dmitry Goncharov 2021-05-30 13:48:29 -04:00
  • 1cffd0a203 * make.texi (Reading Makefiles): != creates recursive variables. Paul Smith 2021-05-30 11:01:49 -04:00
  • b580949ae0 [SV 60659] Set $$< properly in second expansion Dmitry Goncharov 2021-05-29 19:03:07 -04:00
  • f2771aa614 [SV 58341] Add non-trivial options to $(MAKEFLAGS) Paul Smith 2021-04-19 17:27:54 -04:00
  • 5e829188d3 [SV 60378] Don't add duplicate default search directories Dmitry Goncharov 2021-04-17 17:50:07 -04:00
  • 297cb5adb7 * tests/scripts/targets/INTERMEDIATE: [SV 60188] Add one more test Dmitry Goncharov 2021-05-30 13:58:50 -04:00
  • 012918bf11 [SV 58656] Fix mtime for large files on MS-Windows Eli Zaretskii 2021-05-29 11:37:09 +03:00
  • 1ae90c030d Fix build and test issues on Windows Paul Smith 2021-03-28 16:22:57 -04:00
  • 0fb6f2d985 * src/remake.c (name_mtime): Reserve space for nul in readlink result Tobias Stoeckmann 2015-07-12 11:52:32 +02:00
  • 97a8d9b45a * doc/make.texi (Call Function): Apply consistent formatting Cao jin 2017-06-27 15:49:41 +08:00
  • c5c02accb7 * src/job.c (child_execute_job): Update gnulib find_in_given_path() Pete Dietl 2020-12-31 15:55:19 -08:00
  • 76a099997b * doc/make.texi (Automatic Variables): Relocate the $? example Mike Frysinger 2021-03-25 01:18:30 -04:00
  • c5319e75f5 [SV 58497] Ensure $(file <) newline removal succeeds Paul Smith 2021-03-15 03:28:11 -04:00
  • 510e5ce801 [SV 60188] Explicit prereqs cannot be intermediate files Dmitry Goncharov 2021-03-15 02:10:49 -04:00
  • 144f436c4b * tests/scripts/features/exec: Small cleanup Paul Smith 2021-03-15 01:15:18 -04:00
  • 52056d7b2c Ensure variable_buffer is always set. Paul Smith 2021-03-15 01:09:32 -04:00
  • c66ec5fa20 [SV 59881] Handle vertical TAB consistently Paul Smith 2021-03-14 19:12:24 -04:00
  • da6fc6aae2 [SV 59870] define/undefine prerequisites are not target-specific vars Paul Smith 2021-03-14 16:32:47 -04:00
  • d9aff6b817 * maintMakefile: Don't make .check-git-HEAD .PHONY Paul Smith 2021-03-14 15:53:45 -04:00
  • e5f6dc54b9 More correctly describe the scope of variables Jouke Witteveen 2020-12-25 19:00:10 +01:00
  • 88732a29f2 * doc/make.text: Clarify that patsubst doesn't touch unmatched words Paul Smith 2021-03-07 19:05:20 -05:00
  • 7b0a741857 * .dir-locals.el: Update for newer LSP config Paul Smith 2021-03-07 19:04:48 -05:00
  • 74bd8b3aa5 * file.c (remove_intermediates): Restart "rm ..." on error Paul Smith 2021-03-07 19:04:22 -05:00
  • 9043b28250 * doc/make.texi (How Patterns Match): [SV 58639] Fix chaining info. Paul Smith 2020-12-07 01:03:11 -05:00
  • fcc11d05a6 Create $(let ...) providing lexically scoped variables Jouke Witteveen 2020-11-01 22:48:53 +01:00
  • a8f4669b23 * doc/make.texi (Phony Targets): [SV 58961] Clarify pattern handling Paul Smith 2020-12-06 15:21:23 -05:00
  • bd4829096c * doc/make.texi (Synchronized Terminal Output): [SV 58960] Fix link Paul Smith 2020-12-06 10:14:15 -05:00
  • 7044e0c93c [SV 59169] Add --debug=why and --debug=print options Paul Smith 2020-12-05 16:25:12 -05:00