unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* compile 28.2 with checkinstall
@ 2022-12-07 10:00 Laurent Arnoud
  2022-12-07 17:41 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Laurent Arnoud @ 2022-12-07 10:00 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]

Hi,

I've had the same issue when trying to compile emacs and install it with
the checkinstall tool that creates a quick Debian package.

Its my first patch to emacs hope it helps,
Laurent

[-- Attachment #1.2: Type: text/html, Size: 288 bytes --]

[-- Attachment #2: 0001-Use-abs_srcdir-for-install-from-other-pwd.patch --]
[-- Type: text/x-patch, Size: 929 bytes --]

From 97cee991496e399e609f4f7631f36e75d68b36fd Mon Sep 17 00:00:00 2001
From: Laurent Arnoud <laurent.arnoud@platform.sh>
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-13 14:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07 10:00 compile 28.2 with checkinstall Laurent Arnoud
2022-12-07 17:41 ` Eli Zaretskii
2022-12-08 14:59   ` Laurent Arnoud
2022-12-08 15:41     ` Eli Zaretskii
2022-12-13 13:37       ` Laurent Arnoud
2022-12-13 14:30         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).