makefile-engine: Fix catkey generation.
Fixes #13146. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
parent
7cfdd9242c
commit
4d83a710f5
@ -312,7 +312,7 @@ $(CATALOGS_DIR)/%.catalog : $(CATKEYS_DIR)/%.catkeys
|
||||
|
||||
# Rule to preprocess program sources into file ready for collecting catkeys.
|
||||
$(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.
|
||||
catkeys : $(CATKEYS_DIR)/en.catkeys
|
||||
|
Loading…
Reference in New Issue
Block a user