makefile-engine: use grep -a for RDEF parsing
ThemeManager has an UTF-8 copyright symbol in its rdef file. The chroot set up by haikuporter doesn't export anything that would hint grep to accept UTF-8 as text, so it freaks out... So we force it to accept anything as text.
This commit is contained in:
@@ -302,9 +302,9 @@ $(OBJ_DIR)/%.o : %.CPP
|
|||||||
|
|
||||||
# Rules to compile the resource definition files.
|
# Rules to compile the resource definition files.
|
||||||
$(OBJ_DIR)/%.rsrc : %.rdef
|
$(OBJ_DIR)/%.rsrc : %.rdef
|
||||||
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -I $(dir $<) -o "$@" -
|
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -av '^#' | $(RESCOMP) -I $(dir $<) -o "$@" -
|
||||||
$(OBJ_DIR)/%.rsrc : %.RDEF
|
$(OBJ_DIR)/%.rsrc : %.RDEF
|
||||||
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -I $(dir $<) -o "$@" -
|
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -av '^#' | $(RESCOMP) -I $(dir $<) -o "$@" -
|
||||||
|
|
||||||
# Rule to compile localization data catalogs.
|
# Rule to compile localization data catalogs.
|
||||||
$(CATALOGS_DIR)/%.catalog : $(CATKEYS_DIR)/%.catkeys
|
$(CATALOGS_DIR)/%.catalog : $(CATKEYS_DIR)/%.catkeys
|
||||||
|
|||||||
Reference in New Issue
Block a user