From 97cee991496e399e609f4f7631f36e75d68b36fd Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Wed, 7 Dec 2022 10:55:28 +0100 Subject: [PATCH] Use abs_srcdir for install from other pwd when using checkinstall to package emacs it fail because of the relative path of publicsuffix.txt More info at https://emacs.stackexchange.com/questions/52926/installing-emacs-26-3 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git Makefile.in Makefile.in index 93609a4e16..6a93f52d72 100644 --- Makefile.in +++ Makefile.in @@ -749,7 +749,7 @@ install-arch-indep: for f in `find . -name "*.elc" -print | sed 's/.elc$$/.el/'`; do \ ${GZIP_PROG} -9n "$$f"; \ done; \ - ${GZIP_PROG} -9n "../etc/publicsuffix.txt"; \ + ${GZIP_PROG} -9n "${abs_srcdir}/etc/publicsuffix.txt"; \ } -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} -- 2.30.2