mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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.
|
||||
ifdef MAKE_COLOR
|
||||
INFO_COLOR = \033[0;35m
|
||||
CC_COLOR = \033[0;36m
|
||||
LD_COLOR = \033[0;32m
|
||||
LINK_COLOR = \033[1;34m
|
||||
INSTALL_COLOR = \033[0;33m
|
||||
END_COLOR = \033[0;0m
|
||||
INFO_COLOR = $(shell tput setaf 5)
|
||||
CC_COLOR = $(shell tput setaf 6)
|
||||
LD_COLOR = $(shell tput setaf 2)
|
||||
LINK_COLOR = $(shell tput bold;tput setaf 4)
|
||||
INSTALL_COLOR = $(shell tput setaf 3)
|
||||
END_COLOR = $(shell tput sgr0)
|
||||
endif
|
||||
|
||||
# Show the command (quiet or non-quiet version based on the assignment
|
||||
|
Loading…
Reference in New Issue
Block a user