makefile-engine: Fix catkey generation.

Fixes #13146.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
Kacper Kasper 2017-01-10 17:21:39 -05:00 committed by Augustin Cavalier
parent 7cfdd9242c
commit 4d83a710f5
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ $(CATALOGS_DIR)/%.catalog : $(CATKEYS_DIR)/%.catkeys
# Rule to preprocess program sources into file ready for collecting catkeys. # Rule to preprocess program sources into file ready for collecting catkeys.
$(OBJ_DIR)/$(NAME).pre : $(SRCS) $(OBJ_DIR)/$(NAME).pre : $(SRCS)
-cat $(SRCS) | $(CC) -E -x c++ $(INCLUDES) $(CFLAGS) -DB_COLLECTING_CATKEYS - > $(OBJ_DIR)/$(NAME).pre -cat $(SRCS) | $(CC) -E -x c++ $(INCLUDES) $(CFLAGS) -DB_COLLECTING_CATKEYS - | grep -av '^#' > $(OBJ_DIR)/$(NAME).pre
# Rules to collect localization catkeys. # Rules to collect localization catkeys.
catkeys : $(CATKEYS_DIR)/en.catkeys catkeys : $(CATKEYS_DIR)/en.catkeys