Merge pull request #190 from rpdelaney/idempotent_build
Idempotent build
This commit is contained in:
commit
b591fd7420
4
Makefile
4
Makefile
|
@ -8,8 +8,8 @@ clean:
|
||||||
@command rm ${FILE_NAME}.csh 2>/dev/null || true
|
@command rm ${FILE_NAME}.csh 2>/dev/null || true
|
||||||
|
|
||||||
generate: clean
|
generate: clean
|
||||||
@dircolors -b LS_COLORS > ${FILE_NAME}.sh
|
@command sort LS_COLORS | dircolors --bourne-shell - > ${FILE_NAME}.sh
|
||||||
@dircolors -c LS_COLORS > ${FILE_NAME}.csh
|
@command sort LS_COLORS | dircolors --c-shell - > ${FILE_NAME}.csh
|
||||||
|
|
||||||
install: generate
|
install: generate
|
||||||
@command cp ${FILE_NAME}.sh ${FILE_NAME}.csh ${XDG_DATA_HOME}
|
@command cp ${FILE_NAME}.sh ${FILE_NAME}.csh ${XDG_DATA_HOME}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue