diff --git a/Makefile b/Makefile index edad36b7..7bcfd8cd 100644 --- a/Makefile +++ b/Makefile @@ -281,6 +281,17 @@ install: $(JANET_TARGET) $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) build/janet.pc cp build/janet.pc '$(DESTDIR)$(JANET_PKG_CONFIG_PATH)/janet.pc' [ -z '$(DESTDIR)' ] && $(LDCONFIG) || true +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)' \ + ../../$(JANET_TARGET) ./bootstrap.janet + uninstall: -rm '$(DESTDIR)$(BINDIR)/janet' -rm -rf '$(DESTDIR)$(INCLUDEDIR)/janet' diff --git a/README.md b/README.md index 3c090dc2..2ae77f87 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Appveyor Status](https://ci.appveyor.com/api/projects/status/bjraxrxexmt3sxyv/branch/master?svg=true)](https://ci.appveyor.com/project/bakpakin/janet/branch/master) [![builds.sr.ht status](https://builds.sr.ht/~bakpakin/janet/commits/freebsd.yml.svg)](https://builds.sr.ht/~bakpakin/janet/commits/freebsd.yml?) [![builds.sr.ht status](https://builds.sr.ht/~bakpakin/janet/commits/openbsd.yml.svg)](https://builds.sr.ht/~bakpakin/janet/commits/openbsd.yml?) +[![Actions Status](https://github.com/janet-lang/janet/actions/workflows/test.yml/badge.svg)](https://github.com/janet-lang/janet/actions/workflows/test.yml) Janet logo