Commit graph

938 commits

Author SHA1 Message Date
Roland McGrath
10abeb4a08 (AC_MACRODIR): Don't define it.
[AC_MACRODIR]: Protect deps using it with ifdef.
1994-05-19 00:35:53 +00:00
Roland McGrath
a369402d11 Correct update date updated in last change. 1994-05-17 03:50:09 +00:00
Roland McGrath
fe3962cf54 Update update date for last change. 1994-05-17 03:46:27 +00:00
Roland McGrath
cf76b42f2b [GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID and HAVE_SETEGID. 1994-05-17 03:09:02 +00:00
Roland McGrath
fb088e4526 (SCCS_GET_MINUS_G check): Put -G flag before file name. 1994-05-17 02:59:57 +00:00
Roland McGrath
f2804372bd (default_terminal_rules): In SCCS rules, put $(SCCS_OUTPUT_OPTION) before
$<.  On some systems -G is grokked only before the file name.
1994-05-17 02:58:49 +00:00
Roland McGrath
c25db14264 (Overriding Makefiles): Don't suggest using .DEFAULT; that loses if the
target file exists.  Instead recommend the combination of a match-anything
rule and a force target.
1994-05-11 01:42:43 +00:00
Roland McGrath
e83c7d40cd (construct_command_argv_internal): Swallow backslash-newline combinations
inside '' strings too.
1994-05-10 20:27:17 +00:00
Roland McGrath
65d0cd98a9 (do_define): Call collapse_continuations on each line before all else. 1994-05-05 08:15:00 +00:00
Roland McGrath
ec505152e0 (AC_MACRODIR): Change default back. 1994-05-02 23:45:18 +00:00
Roland McGrath
0d2488a804 Note that dirs in VPATH, vpath can be separated by blanks as well as
colons.
1994-05-02 23:00:39 +00:00
Roland McGrath
bc5f054132 (config.h.in): Use $(AC_MACRODIR) in dep. 1994-05-02 22:32:54 +00:00
Roland McGrath
e812d40f9f (AC_MACRODIR): Define if undefined.
(ACFLAGS, configure, config.h.in): Use that value.
1994-05-02 22:29:56 +00:00
Roland McGrath
b12c639bb2 (ARCH==hp300): Disabled customs. 1994-04-25 23:37:12 +00:00
Roland McGrath
dd841ded6f (construct_command_argv_internal): Notice newline inside '' string when
RESTP is non-null.
1994-04-25 23:31:55 +00:00
Roland McGrath
3c9e8b266a (update_goal_chain): Reset FILE to G->file after the double-colon loop so
it is never null for following code.
1994-04-22 21:58:26 +00:00
Roland McGrath
e6bce5ef88 (read_makefile): Fix `override define' parsing to skip whitespace after
`define' properly.
1994-04-22 21:57:47 +00:00
Roland McGrath
bdff21b09a (srcdir): Define as @srcdir@; don't reference $(VPATH).
(glob/Makefile): New target.
1994-04-22 21:33:25 +00:00
Roland McGrath
408e868fd2 (Using Variables): Fixed @xref node to `Automatic'. 1994-04-21 22:39:51 +00:00
Roland McGrath
cf63c0c966 (dist): Depend on rcs-mark first.
(rcs-mark): New target.
(rcs-mark-alpha, rcs-mark-beta): Use $(version-); append : to name for -N.
(version-): New variable, removes dots (RCS doesn't like) from $(version).
1994-04-21 22:35:15 +00:00
Roland McGrath
d2e496cc01 (Using Variables): Fix menu item to `Automatic'. 1994-04-21 22:23:37 +00:00
Roland McGrath
ac336f7a9c Undo last change; reverted to revision 1.22. 1994-04-21 22:14:01 +00:00
Roland McGrath
8f581d3bc0 (parse_file_seq): Fix typo in last change. Remove unused variable. 1994-04-21 21:28:59 +00:00
Roland McGrath
b2522ec319 (chop_commands): Fix braino in last change (failed to initialize IDX for
loop).
1994-04-21 21:28:02 +00:00
Roland McGrath
117d4e0f36 (remove_comments): Use find_char_unquote. 1994-04-21 21:18:04 +00:00
Roland McGrath
9b0a99a051 (find_char_unquote): Declare it. 1994-04-21 20:37:39 +00:00
Roland McGrath
5c807f5457 (find_char_unquote): New function, generalized from find_percent.
(find_percent, find_semicolon, parse_file_seq): Use that.
1994-04-21 20:36:47 +00:00
Roland McGrath
7eeab2fbe1 (chop_commands): Use find_char_unquote to find newlines. 1994-04-21 20:16:42 +00:00
Roland McGrath
f6716d5e74 (pattern_search): Always allocate new storage for FILE->stem.
It is not safe to store STEM's address because it might be auto storage.
1994-04-21 03:48:00 +00:00
Roland McGrath
be451f6d29 Check for seteuid and setegid. 1994-04-21 02:41:56 +00:00
Roland McGrath
eb0dbf1993 [HAVE_SETEUID]: Declare seteuid.
[HAVE_SETEGID]: Declare setegid.
(make_access, user_access) [HAVE_SETEUID]: Use seteuid.
[HAVE_SETEGID]: Use setegid.
1994-04-21 02:41:36 +00:00
Roland McGrath
5ebd380d7a Clarify -q exit status.
(Running): Enumerate possible exit status values (0, 1, 2).
1994-04-21 02:33:10 +00:00
Roland McGrath
cbfe6d75f6 (update_goal_chain): Set STATUS to FILE->update_status, to preserve whether
it's 2 for error or 1 for -q trigger.  When STATUS gets nonzero and -q is
set, always stop immediately.
1994-04-21 02:15:37 +00:00
Roland McGrath
716e804b5b (main, decode_switches): Die with 2 for errors.
(main): Accept 2 return from update_goal_chain and die with that.
1994-04-21 02:08:28 +00:00
Roland McGrath
4848c19870 (fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer. 1994-04-21 02:01:24 +00:00
Roland McGrath
bca4e882ba (reap_children): Die with 2 for error.
(start_job_command): Set update_status to 2 for error.  Set it to 1 when we
would run a command and question_flag is set.
1994-04-21 02:00:20 +00:00
Roland McGrath
eb08818828 (read_makefile): Don't mark makefiles as precious. Just like other
targets, they can be left inconsistent and in need of remaking by aborted
commands.
1994-04-21 01:39:36 +00:00
Roland McGrath
b86e35d2a6 (Automatic Dependencies): Mention here that deps preclude intermediate files. 1994-04-21 01:35:11 +00:00
Roland McGrath
f5b14eee67 (Wildcard Pitfall): Fixed typo. 1994-04-21 01:21:39 +00:00
Roland McGrath
118439508b (Bugs): Take my bloody e-mail address out of the manual and tell them to
send misc. questions to the bug address.
1994-04-21 00:59:00 +00:00
Roland McGrath
f875c95115 (Archive Members): Don't say archive file must exist. Instead, in ar cmds
example, use `c' flag and mention it is needed if archive doesn't exist.
(Archive Update): Fix typo: foo.o -> file.o.
1994-04-21 00:55:18 +00:00
Roland McGrath
f2c10dedf0 (read_makefile): Write no error msg for -include file. 1994-04-20 22:42:32 +00:00
Roland McGrath
37c95f6d39 (dist-flavor): New variable, default to alpha.
(dist): Depend on rcs-mark-$(dist-flavor).
(rcs-mark-beta): New target.
1994-04-20 22:25:09 +00:00
Roland McGrath
22846c7022 (Using Variables): Add paragraph that xrefs to Automatic Variables.
Add Automatic Variables item to the menu.
1994-04-20 22:21:51 +00:00
Roland McGrath
fd025b9089 (fatal_error_signal): Don't unblock signals. 1994-04-06 01:17:43 +00:00
Roland McGrath
6dc8e442f2 (update_goal_chain): Do inner loop on double-colon entries.
(update_file): Use FILE->double_colon pointer to find all entries.
(f_mtime): Likewise.
(notice_finished_file): Propagate mtime change to all entries.
1994-04-05 10:37:12 +00:00
Roland McGrath
4e4b1ed670 (main): When disqualifying makefiles for updating, use double_colon pointer
to find all entries for a file.
1994-04-05 10:20:03 +00:00
Roland McGrath
3580cdedd8 (enter_file): If there is already a double-colon entry for the file, set
NEW->double_colon to that pointer.
(file_hash_enter): Use FILE->double_colon to find all entries to set name.
1994-04-05 10:17:01 +00:00
Roland McGrath
108cca9aa5 (record_files): Set double_colon pointer instead of flag. 1994-04-05 10:14:49 +00:00
Roland McGrath
98104e4d2e (try_variable_definition): Return after abort. 1994-04-05 10:09:28 +00:00