diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,18 +1,15 @@ VIM := $(shell command -v vim 2>/dev/null) NVIM := $(shell command -v nvim 2>/dev/null) +XCONFS := X11/Xresources ZCONFS := zsh/.zshenv DCONFS := doas.conf all: -install: install-xconfigs install-zshconfigs vimplug-vim vimplug-nvim +install: install-xconfigs install-zshconfigs vimplug-vim vimplug-nvim doas-conf install-xconfigs: $(XCONFS) @echo "Installing Xorg conf files..." - @echo "xinitrc..." - @ln -sf `pwd`/X11/xinitrc ~/.xinitrc - @echo "xprofile..." - @ln -sf `pwd`/X11/xprofile ~/.xprofile @echo "Xresources..." @ln -sf `pwd`/X11/Xresources ~/.Xresources @echo "Done." @@ -44,6 +41,5 @@ endif doas-conf: $(DCONFS) @echo "Installing doas config files..." @echo "doas.conf..." - @$(foreach conf,$(DCONFS),\ - $(sudo cp $(conf) /etc/$(conf))) + @sudo cp -n doas.conf /etc/doas.conf @echo "Done." |