haiku/build
Augustin Cavalier 4c13d20c24 LocaleRules: Pass the files to the preprocessor instead of piping it in.
This rule process the entire target's source files at once, and so
whoever wrote this rule in the first place (PulkoMandy?) probably
assumed without even testing that "cc -E" would create multiple
outputs for multiple inputs.

It doesn't, though: it just outputs them in sequence on the command line
the same way it does when the files are piped in through "cat". This
also has other advantages (e.g. preprocess errors caused by the compiler
assuming it was C not C++ code and so not defining __cplusplus, local
includes are now resolved properly, etc.)

Doing it this way does exposes other problems like the one fixed in the
previous commit (headers with no context defined, which worked previously
only because they used the context of the preceding `cat`'ed file.)

We now also remove the .pre file after collecting the catkeys.
2018-08-13 17:00:16 -04:00
..
config_headers Make US-english the default KDL keymap again. 2016-10-10 07:18:12 +02:00
jam LocaleRules: Pass the files to the preprocessor instead of piping it in. 2018-08-13 17:00:16 -04:00
scripts build_cross_tools: Have scripts exit on failure. 2018-05-19 14:54:10 -04:00