[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp-macos-fixes 229c0c5: Set BIN_DESTDIR to ns_appbindir
From: |
Vibhav Pant |
Subject: |
feature/native-comp-macos-fixes 229c0c5: Set BIN_DESTDIR to ns_appbindir when self contained build is enabled |
Date: |
Fri, 14 Aug 2020 04:50:48 -0400 (EDT) |
branch: feature/native-comp-macos-fixes
commit 229c0c5f8b93694c4993aa96e24a2694bcbc4e6c
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>
Set BIN_DESTDIR to ns_appbindir when self contained build is enabled
---
Makefile.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index f28623e..03dd881 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -421,9 +421,13 @@ lib lib-src lisp nt: Makefile
dirstate = .git/logs/HEAD
VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
src: Makefile
+ifeq (${ns_self_contained},no)
$(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)'
BIN_DESTDIR='$(DESTDIR)${bindir}/' \
LISP_DESTDIR='$(DESTDIR)${lispdir}/' all
-
+else
+ $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' BIN_DESTDIR='${ns_appbindir}/'
\
+ LISP_DESTDIR='$(DESTDIR)${lispdir}/' all
+endif
blessmail: Makefile src
$(MAKE) -C lib-src maybe-blessmail