【发布时间】:2016-08-10 13:11:50
【问题描述】:
通常,make 会组合多个连续的空白字符。有时这种行为是不受欢迎的。以下是这种情况的示例:
.PHONY: help
help:
$(info Usage: make [command] [VARIABLES])
$(info )
$(info command1 ..... Do what command1 does and)
$(info let the sentence continue.)
$(info command2 ..... Description of command2)
想要的输出:
Usage: make [command] [VARIABLES]
command1 ..... Do what command1 does and
let the sentence continue.
command2 ..... Description of command2
实际输出:
Usage: make [command] [VARIABLES]
command1 ..... Do what command1 does and
let the sentence continue. # Not aligned with "Do" in line above
command2 ..... Description of command2
换句话说,有没有办法在make中对齐或引用空格?
【问题讨论】: