summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Kasper <kacperkasper@gmail.com>2017-01-10 22:21:39 (GMT)
committerAugustin Cavalier <waddlesplash@gmail.com>2017-01-10 22:21:39 (GMT)
commit4d83a710f5cd775ec282f8dd28c22a460cdc05b0 (patch)
tree98c1698b592f8891aff2309a6253368ea744a10e
parent7cfdd9242c0fcfd4dbcae9b15a249697072f3369 (diff)
makefile-engine: Fix catkey generation.hrev50857
Fixes #13146. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
-rw-r--r--data/develop/makefile-engine2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/develop/makefile-engine b/data/develop/makefile-engine
index fcf0a78..504d9c5 100644
--- a/data/develop/makefile-engine
+++ b/data/develop/makefile-engine
@@ -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