summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-11-07Initial revisionRoland McGrath1-0/+67
1994-11-07(define_makeflags): When no flags, set WORDS to zero.Roland McGrath1-1/+4
1994-11-06(define_makeflags): Terminate properly when FLAGSTRING is empty.Roland McGrath1-0/+2
1994-11-04(rcs-mark-{alpha,beta}): Let make do the globbing instead of sh.Roland McGrath1-2/+2
1994-11-04Remove `DRAFT' from edition.3.72Roland McGrath1-1/+1
1994-11-01(Variables/Recursion): Fix typo.3.71.5Roland McGrath1-1/+1
1994-11-01(start_job_command): When ARGV is nil, only set update_state and callRoland McGrath1-2/+6
notice_finished_file if job_next_command returns zero.
1994-11-01Doc .DELETE_ON_ERROR.Roland McGrath1-50/+94
Doc new MAKEFLAGS/MAKEOVERRIDES. Doc .IGNORE/.SILENT with deps.
1994-11-01(start_job_command): Call notice_finished_file for empty command line.Roland McGrath1-0/+1
1994-10-27(snap_deps): Set COMMANDS_SILENT for .SILENT, not COMMANDS_NOERROR.Roland McGrath1-1/+1
1994-10-27[alliant && i860] (FSCALE): Move defn before #ifndef FSCALE.Roland McGrath1-7/+7
1994-10-26(snap_deps): Set command_flags bits in all :: entries.Roland McGrath1-2/+4
1994-10-24(snap_deps): Fix last change.Roland McGrath1-12/+20
1994-10-24(posix_pedantic): Declare it.Roland McGrath1-0/+1
1994-10-24(main): Move checks .IGNORE, .SILENT, .POSIX to snap_deps.Roland McGrath1-11/+2
1994-10-24(snap_deps): Check .IGNORE, .SILENT, .POSIX here instead of in main.Roland McGrath1-2/+18
If .IGNORE has deps, OR COMMANDS_NOERROR into their command_flags and don't set -i. Likewise .SILENT.
1994-10-24(start_job_command): In FLAGS initialization, OR inRoland McGrath1-1/+6
CHILD->file->command_flags.
1994-10-24(struct file): New member `command_flags'.Roland McGrath1-1/+2
1994-10-24(Automatic Dependencies): Improve recommended sed command.Roland McGrath1-2/+8
Mention -MM flag to gcc.
1994-10-17(Commands): Add warning about "blank" line starting with a tab.Roland McGrath1-6/+8
1994-10-16(switches): Bump flag values for --no-print-directory andRoland McGrath1-2/+2
--warn-undefined-variables, so neither is 1 (which indicates a nonoption argument).
1994-10-16(main): Add missing code in .IGNORE test.Roland McGrath1-1/+1
1994-10-10Document $+ and $(+D), $(+F).Roland McGrath1-3/+18
1994-10-10(define_automatic_variables): Define +D and +F.Roland McGrath1-0/+2
1994-10-01(main): Define hidden automatic variable with command vars, andRoland McGrath1-5/+25
MAKEOVERRIDES to a reference to that. (define_makeflags): If posix_pedantic, write a reference to that instead.
1994-09-30(posix_pedantic): New variable.Roland McGrath1-2/+12
(main): Set posix_pedantic if .POSIX is a target. Fix .IGNORE and .SILENT hecks to require is_target.
1994-09-29Comment fix.Roland McGrath1-1/+1
1994-09-29(set_file_variables): Define new automatic variable $+, like $^ but beforeRoland McGrath1-16/+46
calling uniquize_deps.
1994-09-29(reap_children): Call delete_child_targets for non-signal error ifRoland McGrath1-1/+7
.DELETE_ON_ERROR is a target.
1994-09-28[alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define.Roland McGrath1-1/+16
1994-09-26(reap_children): Don't change C->file->command_state when dying.Roland McGrath1-24/+29
Test it only after calling start_job_command for a new command line. When no more cmds, just set C->file->update_status. (start_job_command): When the last line is empty or under -n, set C->file->update_status. (start_waiting_job): Grok cs_not_started after start_job_command as success. (new_job): Set C->file->update_status when there are no cmds. (job_next_command): When out of lines, don't set CHILD->file->update_status or CHILD->file->command_state.
1994-09-26(quote_as_word): Actually test DOUBLE_DOLLARS, instead of always doubling.Roland McGrath1-1/+1
1994-09-26(quote_as_word): Renamed from shell_quote.Roland McGrath1-53/+67
Take new arg; if nonzero, also double $s. (main): Define MAKEOVERRIDES from command_variables here. (define_makeflags): Don't use command_variables here; instead write a reference $(MAKEOVERRIDES) in MAKEFLAGS. Make vars recursive.
1994-09-26[__MSDOS__]: Fixed typo.Roland McGrath1-1/+1
1994-09-26(selective_vpath_search): Reset EXISTS when stat fails.Roland McGrath1-0/+2
1994-09-26remove CONFIG_BROKETSDavid J. MacKenzie1-7/+0
1994-09-26REMOVE CONFIG_BROKETSDavid J. MacKenzie1-7/+0
1994-09-26remove CONFIG_BROKETSDavid J. MacKenzie1-4/+0
1994-09-17(getloadavg): Add OSF_ALPHA support.Richard M. Stallman1-0/+13
1994-09-10Include <assert.h> and use assert instead of printfs and abort.Roland McGrath1-9/+4
1994-09-10(decode_switches): Loop until optind hits ARGC, not just until getopt_longRoland McGrath1-17/+74
returns EOF. Initialize C to zero before loop; in loop if C is EOF, set optarg from ARGV[optind++], else call getopt_long. (decode_env_switches): Use variable_expand instead of allocated_variable_expand. Allocate a fresh buffer to copy split words into; scan characters by hand to break words and debackslashify. (shell_quote): New function. (define_makeflags): Allocate doubled space for switch args, and command variable names and values; use shell_quote to quote those things.
1994-09-09Add HAVE_SYS_SIGLIST and HAVE__SYS_SIGLIST.3.71.2Roland McGrath1-0/+6
1994-09-09(Archive Suffix Rules): Remove Next pointer.Roland McGrath1-1/+1
1994-09-09(decode_switches): The non-option return from getopt is 1, not 0.Roland McGrath1-61/+145
(command_variables): New type and variable. (decode_switches, decode_env_switches): After making a variable definition, record the struct variable pointer in the command_variables chain. (define_makeflags): If ALL, write variable definitions for command_variables.
1994-09-09(other_args): Variable removed.Roland McGrath1-128/+61
(goals, lastgoal): New static variables (moved from auto in main). (main): Don't process OTHER_ARGS at all. Don't set variable MAKEOVERRIDES at all; define MAKE to just $(MAKE_COMMAND). (init_switches): Prepend a - (return in order) instead of a + (require order). (decode_switches): Don't set OTHER_ARGS at all. Grok '\0' return from getopt_long as non-option argument; try variable definition and (if !ENV) enter goal targets here. (decode_env_switches): Use allocated_variable_expand to store value. Use find_next_token to simplify word-splitting loop. Don't prepend a dash to uninterpreted value. Instead, if split into only one word, try variable definition and failing that prepend a dash to the word and pass it to decode_switches as a single arg.
1994-09-07(notice_finished_file): Only recheck modtimes if FILE->command_state wasRoland McGrath1-6/+5
cs_running on entry (meaning the commands actually just ran). (update_file_1): Whenever we set FILE->update_status, call notice_finished_file instead of just set_command_state.
1994-09-07(start_job_command): Whenever we set CHILD->file->update_status, callRoland McGrath1-4/+6
notice_finished_file instead of just set_command_state.
1994-09-07(set_command_state): Actually set FILE->command_state.Roland McGrath1-0/+2
1994-09-07(set_command_state): Fix typo.Roland McGrath1-1/+1
1994-09-07(set_command_state): Declare D.Roland McGrath1-1/+1