mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 02:59:54 +00:00
Pass DESTDIR directly to jpm bootstrap script.
This commit is contained in:
parent
da2c1be49c
commit
faf60b6b1f
11
Makefile
11
Makefile
@ -285,11 +285,12 @@ install-jpm-git: $(JANET_TARGET)
|
||||
mkdir -p build
|
||||
rm -rf build/jpm
|
||||
git clone --depth=1 https://github.com/janet-lang/jpm.git build/jpm
|
||||
cd build/jpm && PREFIX='$(DESTDIR)$(PREFIX)' \
|
||||
JANET_MANPATH='$(DESTDIR)$(JANET_MANPATH)' \
|
||||
JANET_HEADERPATH='$(DESTDIR)$(INCLUDEDIR)/janet' \
|
||||
JANET_BINPATH='$(DESTDIR)$(BINDIR)' \
|
||||
JANET_LIBPATH='$(DESTDIR)$(LIBDIR)' \
|
||||
cd build/jpm && PREFIX='$(PREFIX)' \
|
||||
DESTDIR=$(DESTDIR) \
|
||||
JANET_MANPATH='$(JANET_MANPATH)' \
|
||||
JANET_HEADERPATH='$(INCLUDEDIR)/janet' \
|
||||
JANET_BINPATH='$(BINDIR)' \
|
||||
JANET_LIBPATH='$(LIBDIR)' \
|
||||
../../$(JANET_TARGET) ./bootstrap.janet
|
||||
|
||||
uninstall:
|
||||
|
Loading…
Reference in New Issue
Block a user