diff options
author | zachir <zachir@librem.one> | 2023-06-06 10:13:18 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-06-06 10:20:26 -0500 |
commit | 4fd767688766ea669072e218c2d4f90d7069177d (patch) | |
tree | b2b55c6cb25e7706e45109163f83d0309df6be58 | |
parent | 2ef85c07fc15a7106093c5464a1f69482ac47d12 (diff) |
update Makefile for removed files
-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." |