diff --git a/Makefile b/Makefile index 596d6e2c..4773371f 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ SELECTED_FLAGS = AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ \ WS \ YE \ ZA ZM ZW -ALL_FLAGS = ($basename ($notdir $(wildcard $(FLAGS_SRC_DIR)/*.png))) +ALL_FLAGS = $(basename $(notdir $(wildcard $(FLAGS_SRC_DIR)/*.png))) FLAGS = $(SELECTED_FLAGS) @@ -173,7 +173,7 @@ $(QUANTIZED_DIR)/%.png: $(EMOJI_DIR)/%.png $(PNGQUANT) | $(QUANTIZED_DIR) $(COMPRESSED_DIR)/%.png: $(QUANTIZED_DIR)/%.png | check_compress_tool $(COMPRESSED_DIR) ifdef MISSING_ZOPFLI - $(OPTIPNG) -quiet -o7 -force -out "$@" "$<" + $(OPTIPNG) -quiet -o7 -clobber -force -out "$@" "$<" else $(ZOPFLIPNG) -y "$<" "$@" 2> /dev/null endif diff --git a/third_party/color_emoji/add_glyphs.py b/third_party/color_emoji/add_glyphs.py index 14e19682..26f99b4e 100644 --- a/third_party/color_emoji/add_glyphs.py +++ b/third_party/color_emoji/add_glyphs.py @@ -147,9 +147,9 @@ def add_lig_sequence(ligatures, seq, n): rev_seq = seq[:] rev_seq.reverse() trseq = tuple(rev_seq) - if trseq in ligatures: - # print 'rev lig sequence %s, replace %s with %s' % ( - # trseq, ligatures[trseq], n) + # if trseq in ligatures: + # print 'rev lig sequence %s, replace %s with %s' % ( + # trseq, ligatures[trseq], n) ligatures[trseq] = n