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 "" \ ssh-keygen -t ed25519 -C "`hostname`: `date`" -f $(JPATRICK_KEY) -N "" \
; report info "jpatrick.io key created" ; report info "jpatrick.io key created"
else else
$(report) info "Key for jpatrick.io already created" $(report) warn "Key for jpatrick.io already created"
endif endif

View File

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

View File

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

View File

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

View File

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