Updated Makefile.
This commit is contained in:
parent
3db6cbe3ad
commit
e15dd52c78
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
|||||||
DOTPATH := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
|
DOTPATH := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||||
CANDIDATES := $(wildcard .??*)
|
CANDIDATES := $(wildcard .??*)
|
||||||
EXCLUSIONS := .DS_Store .git .gitmodules .gitignore init
|
EXCLUSIONS := Makefile screenshot.png .DS_Store .git .gitmodules .gitignore README.md init
|
||||||
DOTFILES := $(filter-out $(EXCLUSIONS), $(CANDIDATES))
|
DOTFILES := $(filter-out $(EXCLUSIONS), $(CANDIDATES))
|
||||||
|
|
||||||
all: install
|
all: install
|
||||||
@ -32,4 +32,4 @@ install: update deploy
|
|||||||
clean:
|
clean:
|
||||||
@echo 'Remove dot files in your home directory...'
|
@echo 'Remove dot files in your home directory...'
|
||||||
@-$(foreach val, $(DOTFILES), rm -vrf $(HOME)/$(val);)
|
@-$(foreach val, $(DOTFILES), rm -vrf $(HOME)/$(val);)
|
||||||
-rm -rf $(DOTPATH)
|
-rm -rf $(DOTPATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user