mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-17 17:15:18 +01:00
Merge pull request #207 from fox-forks/hyperupcall-fix-makefile
fix: Makefile syntax and whitespace quoting
This commit is contained in:
commit
eadc123d13
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -1,7 +1,7 @@
|
|||
export LC_ALL=C
|
||||
FILE_NAME=lscolors
|
||||
export XDG_DATA_HOME ?= $${$$HOME/.local/share}
|
||||
|
||||
XDG_DATA_HOME ?= $(HOME)/.local/share
|
||||
XDG_DATA_HOME := "$(XDG_DATA_HOME)"
|
||||
all: generate
|
||||
|
||||
clean:
|
||||
|
@ -13,11 +13,11 @@ generate: clean
|
|||
@command sort LS_COLORS | dircolors --c-shell - > ${FILE_NAME}.csh
|
||||
|
||||
install: generate
|
||||
@command cp ${FILE_NAME}.sh ${FILE_NAME}.csh ${XDG_DATA_HOME}
|
||||
@command cp ${FILE_NAME}.sh ${FILE_NAME}.csh $(XDG_DATA_HOME)
|
||||
@echo "To enable the colors, add the following line to your shell's start-up script:"
|
||||
@echo ""
|
||||
@echo "For Bourne shell (e.g. ~/.bashrc or ~/.zshrc):"
|
||||
@echo " source ${XDG_DATA_HOME}/${FILE_NAME}.sh"
|
||||
@echo " source $(XDG_DATA_HOME)/${FILE_NAME}.sh"
|
||||
@echo ""
|
||||
@echo "For C shell (e.g. ~/.cshrc):"
|
||||
@echo " source ${XDG_DATA_HOME}/${FILE_NAME}.csh"
|
||||
@echo " source $(XDG_DATA_HOME)/${FILE_NAME}.csh"
|
||||
|
|
Loading…
Reference in a new issue