branch: externals/bnf-mode commit 309f05a781dc05999e8f0530f23089f38dd0fde6 Author: Serghei Iakovlev <eg...@protonmail.ch> Commit: Serghei Iakovlev <eg...@protonmail.ch>
Changed default tar program to GNU tar This fixes the issue described in: https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00517.html Also this will allow reproduce the issue described in: https://github.com/sergeyklay/bnf-mode/issues/5 --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c04c01c..bdf1791 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) EMACS ?= emacs CASK ?= cask PANDOC ?= pandoc -TAR ?= COPYFILE_DISABLE=1 bsdtar +TAR ?= tar EMACSFLAGS ?= TESTFLAGS ?= --reporter ert+duration @@ -89,7 +89,7 @@ $(ARCHIVE_NAME)-pkg.el: $(ARCHIVE_NAME).el $(CASK) pkg-file $(PACKAGE_NAME).tar: README ChangeLog LICENSE $(ARCHIVE_NAME).el $(ARCHIVE_NAME)-pkg.el $(ARCHIVE_NAME).info dir - $(TAR) -c -s "@^@$(PACKAGE_NAME)/@" -f $(PACKAGE_NAME).tar $^ + $(TAR) -c -v -f $(PACKAGE_NAME).tar --transform "s@^@$(PACKAGE_NAME)/@" $^ # Public targets @@ -122,7 +122,8 @@ package: $(PACKAGE_NAME).tar .PHONY: install install: $(PACKAGE_NAME).tar - $(EMACS) --batch -l package -f package-initialize --eval "(package-install-file \"$(PWD)/$(PACKAGE_NAME).tar\")" + $(EMACS) --batch -l package -f package-initialize --eval \ + "(let ((debug-on-error t))(package-install-file \"$(PWD)/$(PACKAGE_NAME).tar\"))" .PHONY: help help: .title