Updated Makefile.

This commit is contained in:
Christian Busch 2016-04-19 18:57:58 +02:00
parent 3db6cbe3ad
commit e15dd52c78

View File

@ -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)