Makefile: Remove Sway from default target, new sway target
Some machines have require customization to their Sway configurations. To keep from blowing them away every time we run gmake, we're adding a new `sway ` target that can be ran manually.
This commit is contained in:
parent
4403824260
commit
d8413f894f
1 changed files with 5 additions and 6 deletions
11
GNUmakefile
11
GNUmakefile
|
|
@ -17,21 +17,18 @@ ifeq ($(UNAME),Darwin)
|
|||
else ifeq ($(UNAME),FreeBSD)
|
||||
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
||||
$(HOME)/.bashrc.freebsd \
|
||||
$(HOME)/.profile.freebsd \
|
||||
$(HOME)/.sway/config
|
||||
$(HOME)/.profile.freebsd
|
||||
PROFILE = .profile
|
||||
INSTALL = ginstall
|
||||
OPEN = xdg-open
|
||||
else ifeq ($(UNAME),Linux)
|
||||
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
||||
$(HOME)/.sway/config \
|
||||
$(HOME)/.profile.linux
|
||||
PROFILE = .profile
|
||||
INSTALL = install
|
||||
OPEN = xdg-open
|
||||
else
|
||||
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
||||
$(HOME)/.sway/config
|
||||
DEFAULT_TARGETS += $(HOME)/.bashrc
|
||||
PROFILE = .profile
|
||||
INSTALL = install
|
||||
OPEN = xdg-open
|
||||
|
|
@ -85,6 +82,8 @@ $(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml
|
|||
$(HOME)/.sway/config: .sway/config
|
||||
$(INSTALL) -D -m 644 $< $@
|
||||
|
||||
sway: $(HOME)/.sway/config
|
||||
|
||||
$(HOME)/.vim/bundle/Vundle.vim: $(HOME)/.vim/bundle
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git $@ || cd $@; git pull; exit 0
|
||||
|
||||
|
|
@ -102,7 +101,7 @@ $(HOME)/.xinitrc: x-crap/.xinitrc
|
|||
|
||||
x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xinitrc
|
||||
|
||||
.PHONY: aliases profileds README x-crap
|
||||
.PHONY: aliases profileds README x-crap sway
|
||||
|
||||
### README #####################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue