DESTDIR配置生效
This commit is contained in:
parent
8ecec6170f
commit
374b7a8bee
9
Makefile
9
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;)
|
Loading…
Reference in New Issue
Block a user