From 69eb9531da0a45a916c30cad1c8d4892ec0edcf2 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 26 Apr 2020 08:55:32 -0500 Subject: [PATCH] Rename auxbin/jpm -> jpm. --- Makefile | 8 ++++---- build_win.bat | 2 +- auxbin/jpm => jpm | 0 meson.build | 5 +---- 4 files changed, 6 insertions(+), 9 deletions(-) rename auxbin/jpm => jpm (100%) diff --git a/Makefile b/Makefile index 68367962..f53fc330 100644 --- a/Makefile +++ b/Makefile @@ -194,12 +194,12 @@ valgrind: $(JANET_TARGET) test: $(JANET_TARGET) $(TEST_PROGRAMS) for f in test/suite*.janet; do ./$(JANET_TARGET) "$$f" || exit; done for f in examples/*.janet; do ./$(JANET_TARGET) -k "$$f"; done - ./$(JANET_TARGET) -k auxbin/jpm + ./$(JANET_TARGET) -k jpm valtest: $(JANET_TARGET) $(TEST_PROGRAMS) for f in test/suite*.janet; do $(VALGRIND_COMMAND) ./$(JANET_TARGET) "$$f" || exit; done for f in examples/*.janet; do ./$(JANET_TARGET) -k "$$f"; done - $(VALGRIND_COMMAND) ./$(JANET_TARGET) -k auxbin/jpm + $(VALGRIND_COMMAND) ./$(JANET_TARGET) -k jpm callgrind: $(JANET_TARGET) for f in test/suite*.janet; do valgrind --tool=callgrind ./$(JANET_TARGET) "$$f" || exit; done @@ -213,7 +213,7 @@ dist: build/janet-dist.tar.gz build/janet-%.tar.gz: $(JANET_TARGET) \ src/include/janet.h src/conf/janetconf.h \ jpm.1 janet.1 LICENSE CONTRIBUTING.md $(JANET_LIBRARY) $(JANET_STATIC_LIBRARY) \ - build/doc.html README.md build/janet.c build/shell.c auxbin/jpm + build/doc.html README.md build/janet.c build/shell.c jpm $(eval JANET_DIST_DIR = "janet-$(shell basename $*)") mkdir -p build/$(JANET_DIST_DIR) cp -r $^ build/$(JANET_DIST_DIR)/ @@ -258,7 +258,7 @@ install: $(JANET_TARGET) build/janet.pc cp $(JANET_STATIC_LIBRARY) '$(DESTDIR)$(LIBDIR)/libjanet.a' ln -sf $(SONAME) '$(DESTDIR)$(LIBDIR)/libjanet.so' ln -sf libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)') $(DESTDIR)$(LIBDIR)/$(SONAME) - cp -rf auxbin/* '$(DESTDIR)$(BINDIR)' + cp -rf jpm '$(DESTDIR)$(BINDIR)' mkdir -p '$(DESTDIR)$(MANPATH)' cp janet.1 '$(DESTDIR)$(MANPATH)' cp jpm.1 '$(DESTDIR)$(MANPATH)' diff --git a/build_win.bat b/build_win.bat index 3f45578e..ea2521f1 100644 --- a/build_win.bat +++ b/build_win.bat @@ -116,7 +116,7 @@ copy src\include\janet.h dist\janet.h copy src\conf\janetconf.h dist\janetconf.h copy build\libjanet.lib dist\libjanet.lib -copy auxbin\jpm dist\jpm +copy jpm dist\jpm copy tools\jpm.bat dist\jpm.bat @rem Create installer diff --git a/auxbin/jpm b/jpm similarity index 100% rename from auxbin/jpm rename to jpm diff --git a/meson.build b/meson.build index 3633b9c3..3be88563 100644 --- a/meson.build +++ b/meson.build @@ -241,8 +241,5 @@ pkg.generate(libjanet, install_man('janet.1') install_man('jpm.1') install_headers(['src/include/janet.h', jconf], subdir: 'janet') -janet_binscripts = [ - 'auxbin/jpm' -] -install_data(sources : janet_binscripts, install_dir : get_option('bindir')) +install_data(sources : ['jpm'], install_dir : get_option('bindir')) install_data(sources : ['tools/.keep'], install_dir : join_paths(get_option('libdir'), 'janet'))