mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
Use tput instead of hardcoded escape sequences in the make system.
This commit is contained in:
parent
8edcb292cb
commit
75f21d276c
12
Makefile.lib
12
Makefile.lib
@ -16,12 +16,12 @@ endif
|
|||||||
|
|
||||||
# Colorize the build.
|
# Colorize the build.
|
||||||
ifdef MAKE_COLOR
|
ifdef MAKE_COLOR
|
||||||
INFO_COLOR = \033[0;35m
|
INFO_COLOR = $(shell tput setaf 5)
|
||||||
CC_COLOR = \033[0;36m
|
CC_COLOR = $(shell tput setaf 6)
|
||||||
LD_COLOR = \033[0;32m
|
LD_COLOR = $(shell tput setaf 2)
|
||||||
LINK_COLOR = \033[1;34m
|
LINK_COLOR = $(shell tput bold;tput setaf 4)
|
||||||
INSTALL_COLOR = \033[0;33m
|
INSTALL_COLOR = $(shell tput setaf 3)
|
||||||
END_COLOR = \033[0;0m
|
END_COLOR = $(shell tput sgr0)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Show the command (quiet or non-quiet version based on the assignment
|
# Show the command (quiet or non-quiet version based on the assignment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user