From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48743: 28.0.50; batch-native-compile should produce .elc files as well Date: Mon, 31 May 2021 17:46:03 +0300 Message-ID: <8335u32c7o.fsf@gnu.org> References: <20210530135754.DE34AC2054B@raman-glaptop.localdomain> <831r9o47y9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33422"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48743@debbugs.gnu.org, raman@google.com To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 31 16:47:58 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnjCv-0008a1-VU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 16:47:57 +0200 Original-Received: from localhost ([::1]:45576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnjCu-0004w3-O5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 10:47:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnjC4-0004u9-LY for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 10:47:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnjC1-000382-Kg for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 10:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnjC1-0004cC-Hx for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 10:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2021 14:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48743 X-GNU-PR-Package: emacs Original-Received: via spool by 48743-submit@debbugs.gnu.org id=B48743.162247238517698 (code B ref 48743); Mon, 31 May 2021 14:47:01 +0000 Original-Received: (at 48743) by debbugs.gnu.org; 31 May 2021 14:46:25 +0000 Original-Received: from localhost ([127.0.0.1]:34600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnjBN-0004bK-P2 for submit@debbugs.gnu.org; Mon, 31 May 2021 10:46:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnjBI-0004b2-CD for 48743@debbugs.gnu.org; Mon, 31 May 2021 10:46:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46870) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnjBB-0002Yy-Rg; Mon, 31 May 2021 10:46:09 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2829 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnjBB-0003oq-F2; Mon, 31 May 2021 10:46:09 -0400 In-Reply-To: (message from Andrea Corallo on Mon, 31 May 2021 13:41:28 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207705 Archived-At: > From: Andrea Corallo > Cc: "T.V Raman" , 48743@debbugs.gnu.org > Date: Mon, 31 May 2021 13:41:28 +0000 > > yes I'm following this thread, trying ATM to make my mind on what's the > real issue. Thanks. Let me try helping you understand what I think is the issue here. Suppose you are maintaining a Lisp package which includes a Makefile used to byte-compile all the Lisp files as part of the installation procedure of the package. This Makefile has targets and dependencies that build *.elc files from *.el files. How do you modify the Makefile to produce *.eln files during the build, while maintaining the dependencies between the Lisp files? the dependencies would mean that when file1.el is modified, you need to recompile not only that file1.el, but also file2.el and file3.el. How do you get new file2.eln and file3.eln via Makefile rules in this case? I hope I succeeded to explain the issue.