Added no action for makefiles.

This commit is contained in:
James Patrick 2019-06-16 18:58:36 -04:00
parent 8f0eccefde
commit ccb3696285
5 changed files with 12 additions and 2 deletions

View File

@ -25,5 +25,5 @@ ifeq ($(shell [ ! -e $(JPATRIC_KEY) ] $(return_val_truthy) ), true)
ssh-keygen -t ed25519 -C "`hostname`: `date`" -f $(JPATRICK_KEY) -N "" \
; report info "jpatrick.io key created"
else
$(report) info "Key for jpatrick.io already created"
$(report) warn "Key for jpatrick.io already created"
endif

View File

@ -9,12 +9,16 @@ init:
ifeq ($(call cmd_exist,sway), true)
$(info => Setting up sway)
$(mk_link) $(SRC) $(TARGET)
else
$(report) warn "Sway not installed. Skipping."
endif
update:
ifeq ($(call cmd_exist,swaymsg), true)
$(info => Reloading sway)
swaymsg reload ; $(report) "sway reload"
else
$(report) warn "swaymsg not installed. Skipping."
endif
remove:

View File

@ -11,7 +11,7 @@ ifeq ($(call cmd_exist,tmux), true)
$(info => Setting up tmux)
$(mk_link) $(SOURCE) $(TARGET)
else
$(report) warn "tmux not installed"
$(report) warn "tmux not installed."
endif
update:

View File

@ -10,6 +10,8 @@ init:
ifeq ($(shell $(call cmd_exist,firefox) || $(IS_MAC) ; echo $$? ), 0)
$(info => Setting up Tridacyl)
$(mk_link) $(SRC) $(TARGET)
else
$(report) warn "This doesn't seem to be an env for Tridactyl. Skipping."
endif
update:

View File

@ -9,12 +9,16 @@ init:
ifeq ($(call cmd_exist,waybar), true)
$(info => Setting up waybar)
$(mk_link) $(SRC) $(TARGET)
else
$(report) warn "waybar not installed. Skipping."
endif
update:
ifeq ($(call cmd_exist,swaymsg), true)
$(info => Reloading sway)
swaymsg reload ; $(report) "sway reload"
else
$(report) warn "swaymsg not installed. Skipping."
endif
remove: