From acdb2a06bd7b6ca864ba5d999a324d78be867189 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 Aug 2022 00:34:56 -0500 Subject: fix make install --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8ea4f7e..8b55b31 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ ifdef AMBIG_SCRIPTS @echo "Installing 'ambiguous' scripts (scripts that run one option or the other, depending on display server)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(AMBIG_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -27,7 +27,7 @@ ifdef WM_SCRIPTS @echo "Installing wm scripts, which are specific to window managers..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(WM_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -36,7 +36,7 @@ ifdef INTER_SCRIPTS @echo "Installing 'interface' scripts (scripts that use barmenu as an interface to open another application)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(INTER_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -45,7 +45,7 @@ ifdef BLOCKS_SCRIPTS @echo "Installing 'dwmblocks' scripts (scripts that are modules for dwmblocks)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(BLOCKS_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -54,7 +54,7 @@ ifdef GENERAL_SCRIPTS @echo "Installing 'general' scripts (scripts that don't depend on my other scripts)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(GENERAL_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -63,7 +63,7 @@ ifdef XORG_SCRIPTS @echo "Installing 'xorg' scripts (scripts designed for use with xorg)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(XORG_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -72,7 +72,7 @@ ifdef WAY_SCRIPTS @echo "Installing 'Wayland' scripts (scripts designed for use with Wayland)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(WAY_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif @@ -81,6 +81,6 @@ ifdef RUNIT_SCRIPTS @echo "Installing 'runit' scripts (scripts designed for use with the Runit init system)..." @mkdir -p $(SCRIPTS_DIR) @$(foreach script,$(RUNIT_SCRIPTS),\ - $(cp $(script) $(SCRIPTS_DIR))) + $(shell cp $(script) $(SCRIPTS_DIR))) @echo "Done." endif -- cgit v1.2.3