Changeset 2024 for trunk/src/kmk/commands.c
- Timestamp:
- Nov 2, 2008, 6:43:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/commands.c
r1993 r2024 47 47 48 48 void 49 #if defined(CONFIG_WITH_COMMANDS_FUNC) || defined (CONFIG_WITH_DOT_MUST_MAKE) 50 set_file_variables (struct file *file, int called_early) 51 #else 49 52 set_file_variables (struct file *file) 53 #endif 50 54 { 51 55 const struct dep *d; … … 182 186 DEFINE_VARIABLE ("%", 1, percent); 183 187 #endif /* CONFIG_WITH_RDONLY_VARIABLE_VALUE */ 188 189 #if defined(CONFIG_WITH_COMMANDS_FUNC) || defined (CONFIG_WITH_DOT_MUST_MAKE) 190 /* The $^, $+, $? and $| variables should not be set if we're called 191 early by a .MUST_MAKE invocation or $(commands ). */ 192 if (called_early) 193 return; 194 #endif 184 195 185 196 /* Compute the values for $^, $+, $?, and $|. */ … … 500 511 initialize_file_variables (file, 0); 501 512 513 #if defined(CONFIG_WITH_COMMANDS_FUNC) || defined (CONFIG_WITH_DOT_MUST_MAKE) 514 set_file_variables (file, 0 /* final call */); 515 #else 502 516 set_file_variables (file); 517 #endif 503 518 504 519 /* Start the commands running. */
Note:
See TracChangeset
for help on using the changeset viewer.