From 8cd57025a019e8fb47736188eb4626dc645733f0 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 17 Sep 2021 16:38:11 -0500 Subject: [PATCH] Add makefile var to fix jpm to a tag/branch --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c2d1c6de..3b331383 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ JANET_PATH?=$(LIBDIR)/janet JANET_MANPATH?=$(PREFIX)/share/man/man1/ JANET_PKG_CONFIG_PATH?=$(LIBDIR)/pkgconfig JANET_DIST_DIR?=janet-dist +JPM_TAG?=master DEBUGGER=gdb SONAME_SETTER=-Wl,-soname, @@ -284,7 +285,7 @@ install: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.pc 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 + git clone --depth=1 --branch='$(JPM_TAG)' https://github.com/janet-lang/jpm.git build/jpm cd build/jpm && PREFIX='$(PREFIX)' \ DESTDIR=$(DESTDIR) \ JANET_MANPATH='$(JANET_MANPATH)' \