From 374b7a8beeff86fbccf61d3f1876abdd2933bf3f Mon Sep 17 00:00:00 2001 From: uzi Date: Tue, 6 Dec 2022 16:28:05 +0800 Subject: [PATCH] =?UTF-8?q?DESTDIR=E9=85=8D=E7=BD=AE=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 934c9d9..51c1413 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ wmname:= wmname-0.1 libraries := $(dmenu) $(dwm) $(scroll) $(st) $(wmname) # INSTALL_PATH := $(PWD)/_install +# export DESTDIR=${INSTALL_PATH} .PHONY : all $(libraries) @@ -18,10 +19,10 @@ $(libraries) : $(MAKE) -C $@ install: - rm -fr ./_install && true - mkdir ./_install - echo "${INSTALL_PATH}" - $(foreach dir,$(libraries), DESTDIR=${INSTALL_PATH} $(MAKE) -C $(dir) install;) +# rm -fr ./_install && true +# mkdir ./_install + echo "${DESTDIR}" + $(foreach dir,$(libraries), $(MAKE) -C $(dir) install;) clean : - $(foreach dir,$(libraries),$(MAKE) -C $(dir) clean;) \ No newline at end of file + $(foreach dir,$(libraries), $(MAKE) -C $(dir) clean;) \ No newline at end of file