mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-07 15:27:59 +00:00
Makefile: add print-% special command to print Makefile variables
I need to extract the content of SELECTED_FLAGS to know which of the flags actually get built into the emoji font
This commit is contained in:
parent
c839aba00d
commit
1f8201c939
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -241,6 +241,11 @@ clean:
|
|||
rm -f waveflag
|
||||
rm -rf $(BUILD_DIR)
|
||||
|
||||
# This prints the value of a Makefile variable: e.g. `make print-SELECTED_FLAGS`
|
||||
# will print the content of SELECTED_FLAGS.
|
||||
# Source: https://apprize.best/linux/gnu/3.html
|
||||
print-%: ; @echo $* = $($*)
|
||||
|
||||
.SECONDARY: $(EMOJI_FILES) $(FLAG_FILES) $(RESIZED_FLAG_FILES) $(RENAMED_FLAG_FILES) \
|
||||
$(ALL_QUANTIZED_FILES) $(ALL_COMPRESSED_FILES)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue