This project is mirrored from https://git.savannah.gnu.org/git/make.git.
Pull mirroring failed .
Last successful update .
Last successful update .
- 26 Aug, 2019 4 commits
-
-
Paul Smith authored
-
Paul Smith authored
Make a spin() method available when compiled in maintainer mode. If a file exists in the working directory with a specific name, make will sleep until the file is deleted. Ensure that maintainer mode is enabled on Windows, using the same algorithm we use on POSIX / autoconf systems. * build_w32.bat: If maintMakefile exists, enable maintainer mode. * src/main.c (main): Replace Windows-only suspend flag with spin(). * src/makeint.h: A SPIN() macro calls spin() in maintainer mode. * src/misc.c (spin): If a spin file exists sleep until it's deleted.
-
Paul Smith authored
-
Paul Smith authored
-
- 25 Aug, 2019 2 commits
-
-
Paul Smith authored
-
Paul Smith authored
-
- 24 Aug, 2019 3 commits
-
-
Paul Smith authored
-
Paul Smith authored
-
Paul Smith authored
-
- 14 Jul, 2019 2 commits
-
-
Christian Eggers authored
* src/job.c (sh_chars_dos): Add '%' as a special character * src/job.c (construct_command_argv_internal): Check for '%' in quotes For the windows version of make, a recipe line cannot be executed diretly by make (without a shell) if a '%' character is present. This character starts a cmd.exe escape sequence. Signed-off-by:Christian Eggers <ceggers@arri.de> Copyright-paperwork-exempt: yes
-
Paul Smith authored
-
- 13 Jul, 2019 2 commits
-
-
Mike Haboustak authored
The check for matching a file's command to the default rule's command does not account for null. If no .DEFAULT is defined a rule with no recipe has it's $< variable set to the value of $@. This breaks second expansion, particularly when used with pattern rules. * src/commands.c [set_file_variables]: Check that cmds is set * tests/scripts/features/se_explicit: Test case * tests/scripts/features/se_implicit: Test case Copyright-paperwork-exempt: yes
-
Paul Smith authored
* bootstrap.conf: Add strerror module * configure.ac: Remove strerror check * src/misc.c: Remove local strerror() implementation * src/config.ami.template: Remove HAVE_STRERROR * src/config.h-vms.template: Ditto. * src/config.h.W32.template: Ditto.
-
- 19 May, 2019 8 commits
-
-
Paul Smith authored
-
Paul Smith authored
Discovered and explained by Michael Henry <gnu@drmikehenry.com> * tests/scripts/variables/flavors: Add a test to preserve the behavior.
-
Paul Smith authored
Ensure that variable overrides are passed to recursive make instances even if no overrides were provided on the command line. Fix suggested by Rici Lake <ricilake@gmail.com> * src/main.c (define_makeflags): Add overrides without respect to the value of command_variables. * tests/scripts/features/recursion: Add a test.
-
Paul Smith authored
* .ccls: Remove -std=c99: it disables __attribute__ causing warnings. * .dir-locals.el: Force the C coding style to "gnu". * make-gdb.py: Add GDB macros for pretty-printing GNU make structs. * scripts/copyright-update: Use GNULIB_SRCDIR to find update-copyright.
-
Paul Smith authored
When merging the variable_set_lists for two targets it could be that the "from" set list is a subset of the "to" set list: check for this situation to avoid freeing used memory. * src/variable.c (merge_variable_set_lists): Walk the "to" list and if the "from" list is contained in it, nothing to do. * tests/scripts/features/se_explicit: Add a test.
-
Paul Smith authored
-
Paul Smith authored
Create a new variable run_silent to hold the current instance's global silence setting, allowing silent_flag to represent only whether the -s option was provided on the command line. * src/makeint.h: Change silent_flag variable to run_silent. * src/job.c: Ditto. * src/remake.c: Ditto. * src/file.c: Ditto. * src/main.c: Add a new global variable run_silent. (decode_switches): After switches are decoded, initialize run_silent. * tests/scripts/targets/SILENT: Add a test for recursive behavior.
-
Paul Smith authored
-
- 12 May, 2019 4 commits
-
-
Kaz Kylheku authored
This patch allows "grouped targets" using the &: syntax: tgt1 tgt2 ... tgtn &: pre1 pre2 ... recipe When the &: separator is used (in single or double colon forms), all the targets are understood to be built by a single invocation of the recipe. This is accomplished by piggy-backing on the already-existing pattern rule feature, using the file's "also_make" list. * NEWS: Add information about grouped targets. * doc/make.texi (Multiple Targets): Add information on grouped targets. (Pattern Intro): Refer to the new section to discuss multiple patterns. * src/main.c (main): Add "grouped-targets" to .FEATURES * src/read.c (make_word_type): Add new types for &: and &::. (eval): Recognize the &: and &:: separator and remember when used. (record_files): Accept an indicator of whether the rule is grouped. If so, update also_make for each file to depend on the other files. (get_next_mword): Recognize the &: and &:: word types. * tests/scripts/features/grouped_targets: New test script. * AUTHORS: Add Kaz Kylheku -
Paul Smith authored
-
Paul Smith authored
-
Paul Smith authored
* .ccls: Configure the ccls LSP server * .dir-locals.el: Reset some parameters for ccls and lsp-mode * .gitignore: Update for GTAGS and ccls * maintMakefile: Don't search hidden directories for sources
-
- 16 Sep, 2018 2 commits
-
-
Paul Smith authored
-
Paul Smith authored
* src/misc.c (writebuf, readbuf): Create helper functions that will reliably write a buffer to a file descriptor in the face of EINTR causing short writes, and read from a file descriptor into a buffer in the face of EINTR causing short reads. * src/makeint.h: Declare these functions. * src/output.c: Remove output_write() and replace with writebuf(). (_outputs, out_of_memory): Call writebuf(), not output_write(). * src/arscan.c (ar_scan): Call readbuf() instead of read(2). (ar_member_touch): Remove duplicate header write, call writebuf() instead of output_write(), and readbuf() instead of read(2).
-
- 15 Sep, 2018 5 commits
-
-
Paul Smith authored
-
Paul Smith authored
Fixes an issue seen in the Linux kernel build system, reported by Masahiro Yamada <yamada.masahiro@socionext.com>. Fix suggested on the bug-make mailing list by Mike Shal <marfey@gmail.com>. * tests/scripts/features/parallelism: Add a test to verify this.
-
Paul Smith authored
-
Paul Smith authored
There's no need to frighten users away from capabilities which are perfectly reasonable and definitely not going away, by calling them obsolete or discouraged in the manual.
-
Paul Smith authored
* NEWS: Update with a backward-compatibility warning. * src/rule.c (convert_to_pattern): If a suffix rule has dependencies, do not create a pattern rule for it. According to the manual suffix rules with prerequisites are treated as normal targets. * tests/scrips/features/suffixrules: Create some regression tests for .SUFFIXES and suffix rules.
-
- 04 Aug, 2018 8 commits
-
-
Paul Smith authored
-
Paul Smith authored
If multiple pattern rules have the same pattern as also-make targets and we attempt to run them at the same time, we might downgrade the command state from 'running' to 'deps_running'; this will prevent that also_make from being considered complete causing make to wait forever for it to finish. Ensure that set_command_state never downgrades the state of a target. * src/file.c (set_command_state): Don't downgrade command_state. * src/filedef.h (struct file): Document the order prerequisite. * test/scripts/features/patternrules: Test the behavior.
-
Paul Smith authored
-
Paul Smith authored
-
Bernhard M. Wiedemann authored
-
Paul Smith authored
-
Ben Hutchings authored
Commit bc9d72be "Resolve issues discovered by static code analysis." added range checks on archive member name length. However, on non-AIX systems it also checked BSD-style long names against the short name limits and and checked the *offset* for GNU-style long names against the short name limits. This caused valid long names to be rejected. * Record the size of the GNU name map and validate offsets against it * Ensure that the last entry in the name map is null-terminated * Apply a maximum length of INT_MAX for element sizes Reported-by:
Philipp Wolski <philipp.wolski@kisters.de>
-
Paul Smith authored
Fix from Rich Felker <bugdal@aerifal.cx> on the musl mailing list. * tests/scripts/functions/wildcard: Create a regression test for this.
-