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)
|
else ifeq ($(UNAME),FreeBSD)
|
||||||
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
||||||
$(HOME)/.bashrc.freebsd \
|
$(HOME)/.bashrc.freebsd \
|
||||||
$(HOME)/.profile.freebsd \
|
$(HOME)/.profile.freebsd
|
||||||
$(HOME)/.sway/config
|
|
||||||
PROFILE = .profile
|
PROFILE = .profile
|
||||||
INSTALL = ginstall
|
INSTALL = ginstall
|
||||||
OPEN = xdg-open
|
OPEN = xdg-open
|
||||||
else ifeq ($(UNAME),Linux)
|
else ifeq ($(UNAME),Linux)
|
||||||
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
||||||
$(HOME)/.sway/config \
|
|
||||||
$(HOME)/.profile.linux
|
$(HOME)/.profile.linux
|
||||||
PROFILE = .profile
|
PROFILE = .profile
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
OPEN = xdg-open
|
OPEN = xdg-open
|
||||||
else
|
else
|
||||||
DEFAULT_TARGETS += $(HOME)/.bashrc \
|
DEFAULT_TARGETS += $(HOME)/.bashrc
|
||||||
$(HOME)/.sway/config
|
|
||||||
PROFILE = .profile
|
PROFILE = .profile
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
OPEN = xdg-open
|
OPEN = xdg-open
|
||||||
|
|
@ -85,6 +82,8 @@ $(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml
|
||||||
$(HOME)/.sway/config: .sway/config
|
$(HOME)/.sway/config: .sway/config
|
||||||
$(INSTALL) -D -m 644 $< $@
|
$(INSTALL) -D -m 644 $< $@
|
||||||
|
|
||||||
|
sway: $(HOME)/.sway/config
|
||||||
|
|
||||||
$(HOME)/.vim/bundle/Vundle.vim: $(HOME)/.vim/bundle
|
$(HOME)/.vim/bundle/Vundle.vim: $(HOME)/.vim/bundle
|
||||||
git clone https://github.com/VundleVim/Vundle.vim.git $@ || cd $@; git pull; exit 0
|
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
|
x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xinitrc
|
||||||
|
|
||||||
.PHONY: aliases profileds README x-crap
|
.PHONY: aliases profileds README x-crap sway
|
||||||
|
|
||||||
### README #####################################################################
|
### README #####################################################################
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue