From 5fc9b2df63908ab8be32504e59e2a49f4fe4420e Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 6 Jun 2023 10:13:18 -0500 Subject: update Makefile for removed files --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 009bad1..b1ba142 100644 --- a/Makefile +++ b/Makefile @@ -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." -- cgit v1.2.3