mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 09:17:17 +00:00
Add makefile var to fix jpm to a tag/branch
This commit is contained in:
parent
faf60b6b1f
commit
8cd57025a0
3
Makefile
3
Makefile
@ -36,6 +36,7 @@ JANET_PATH?=$(LIBDIR)/janet
|
|||||||
JANET_MANPATH?=$(PREFIX)/share/man/man1/
|
JANET_MANPATH?=$(PREFIX)/share/man/man1/
|
||||||
JANET_PKG_CONFIG_PATH?=$(LIBDIR)/pkgconfig
|
JANET_PKG_CONFIG_PATH?=$(LIBDIR)/pkgconfig
|
||||||
JANET_DIST_DIR?=janet-dist
|
JANET_DIST_DIR?=janet-dist
|
||||||
|
JPM_TAG?=master
|
||||||
DEBUGGER=gdb
|
DEBUGGER=gdb
|
||||||
SONAME_SETTER=-Wl,-soname,
|
SONAME_SETTER=-Wl,-soname,
|
||||||
|
|
||||||
@ -284,7 +285,7 @@ install: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.pc
|
|||||||
install-jpm-git: $(JANET_TARGET)
|
install-jpm-git: $(JANET_TARGET)
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
rm -rf build/jpm
|
rm -rf build/jpm
|
||||||
git clone --depth=1 https://github.com/janet-lang/jpm.git build/jpm
|
git clone --depth=1 --branch='$(JPM_TAG)' https://github.com/janet-lang/jpm.git build/jpm
|
||||||
cd build/jpm && PREFIX='$(PREFIX)' \
|
cd build/jpm && PREFIX='$(PREFIX)' \
|
||||||
DESTDIR=$(DESTDIR) \
|
DESTDIR=$(DESTDIR) \
|
||||||
JANET_MANPATH='$(JANET_MANPATH)' \
|
JANET_MANPATH='$(JANET_MANPATH)' \
|
||||||
|
Loading…
Reference in New Issue
Block a user