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))))
|
||||
CANDIDATES := $(wildcard .??*)
|
||||
EXCLUSIONS := .DS_Store .git .gitmodules .gitignore init
|
||||
CANDIDATES := $(wildcard .??*)
|
||||
EXCLUSIONS := Makefile screenshot.png .DS_Store .git .gitmodules .gitignore README.md init
|
||||
DOTFILES := $(filter-out $(EXCLUSIONS), $(CANDIDATES))
|
||||
|
||||
all: install
|
||||
@ -32,4 +32,4 @@ install: update deploy
|
||||
clean:
|
||||
@echo 'Remove dot files in your home directory...'
|
||||
@-$(foreach val, $(DOTFILES), rm -vrf $(HOME)/$(val);)
|
||||
-rm -rf $(DOTPATH)
|
||||
-rm -rf $(DOTPATH)
|
||||
|
Loading…
Reference in New Issue
Block a user