diff options
author | zachir <zachir@librem.one> | 2023-06-06 10:13:18 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-06-06 10:13:18 -0500 |
commit | 5fc9b2df63908ab8be32504e59e2a49f4fe4420e (patch) | |
tree | 9cc8d33f94da58e0cf250fa10dfe18d3d8720753 /Makefile | |
parent | 50d3f9443a03966cee96de8470ccefd3191e1200 (diff) |
update Makefile for removed files
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." |