Skip to content

Commit

Permalink
Merge pull request #207 from fox-forks/hyperupcall-fix-makefile
Browse files Browse the repository at this point in the history
fix: Makefile syntax and whitespace quoting
  • Loading branch information
rpdelaney committed Dec 12, 2023
2 parents f123df9 + 4b8885a commit eadc123
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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"

0 comments on commit eadc123

Please sign in to comment.