From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Reworking loaddefs.el generation Date: Wed, 01 Jun 2022 07:43:21 +0200 Message-ID: <87a6ax2b2e.fsf@gnus.org> References: <87ee0f8cvx.fsf@gnus.org> <87tu954jzl.fsf@gnus.org> <87ilpl2g2c.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 01 07:53:05 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nwHHz-0000Z2-WE for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 07:53:04 +0200 Original-Received: from localhost ([::1]:35798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwHHy-0007Vt-DO for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jun 2022 01:53:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwH8n-0002cQ-QW for emacs-devel@gnu.org; Wed, 01 Jun 2022 01:43:34 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:53228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwH8i-0008KK-QW for emacs-devel@gnu.org; Wed, 01 Jun 2022 01:43:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZYXLGNYy+W8iX7dZI7W9zbMo7/XGdIo67fVsouijUpE=; b=pUfpu/Mrm6MXE5QOS5ubEsqTxR 7HTkVODFb4qhzTqW/KgC1khNSXMXUD1SGjuQPmdLxWA0MfZj62F1YXwrKC3AGWebFcQNhGX6y9pxG lhqDXdMkRfiE/q5EHDwivM4sNGFMro+RvFr6eDPdod/HtOMCilwlfxsrzo4cFrBQ1ZGE=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwH8d-0000KX-IH; Wed, 01 Jun 2022 07:43:26 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEX+/v6amZnAv7/R 0dBtbWxOTUxBPz4uLSsiIB4gHRuAgH8XFhT///9Gfwd4AAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YG AQUKIPx/ylMAAAGMSURBVDjL7ZBBiuMwEEU1zAnUuPfp9AXS7RMYJGYdkKKh9yEnUEo5gcpk3cRC B5kYXa6/5EAWWTbMbOYbbLmequpXCfFf39GPl6e3zUO03/Tvfd8/xDc//7XfvyaM36+h9/pardev dSF1Jy9SKrvzzjsK0RyPJnAViU5bo5RVtrPPRNvn0yUswBH5hqz50F6fODYQxRRiJKL93poBWB9o kaDInCdkWWXUIDtr3Q0EXq4crQPpjNKewETiCmLAa9DWykHpmuPEyHyeiCZGtT0cOL8UE3Ec2/Xj wcO4lmjTKWSJkNOUU5ooEPrLoVNSdqAiz6lpgvcdyikAuerfREZ3HlPixBHxrVRb2ZnhSRTcRSGq U1oHGNpRA1z2O+ykPuoX8zKVcRWg8IAFeqXD0g2ERYGqdR4vdFp85DxHX0Gitp5zaQbLHMlZqmCG 1bFcqYWv5DydShG/S5nGXAvOIZeZXDjXnyI+XfuWGVGO1i1hgPKHbucL3cMVIP0QMKI/hHLX3Oxe q6nWp+RbPH4BedMOwchHy3YAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMDFUMDU6MTA6MzIr MDA6MDDUyU/pAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTAxVDA1OjEwOjMyKzAwOjAwpZT3 VQAAAABJRU5ErkJggg== X-Now-Playing: Section 25's _Deus Ex Machina_: "Deus Ex Machina" In-Reply-To: <87ilpl2g2c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 01 Jun 2022 05:55:23 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290468 Archived-At: Lars Ingebrigtsen writes: > So we'd need to rearrange those to be compiled first, and then > have that target depend on that new target? Perhaps put them in > MAIN_FIRST in lisp/Makefile, and... er... something. Perhaps something along the lines of: diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index d9c5173c07..a0788580b7 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -71,8 +71,8 @@ INFO_COMMON = dbus dired-x ebrowse ede ediff edt eieio \ emacs-mime epa erc ert eshell eudc efaq eww \ flymake forms gnus emacs-gnutls htmlfontify idlwave ido info.info \ - mairix-el message mh-e modus-themes newsticker nxml-mode octave-mode \ - org pcl-cvs pgg rcirc remember reftex sasl \ + mairix-el message mh-e newsticker nxml-mode octave-mode \ + pcl-cvs pgg rcirc remember reftex sasl \ sc semantic ses sieve smtpmail speedbar srecode todo-mode transient \ tramp url vhdl-mode vip viper vtable widget wisent woman @@ -82,7 +82,7 @@ INFO_INSTALL = ## Info files to build on current platform. ## This is all of them, even though they might not all get installed, ## because the info files are pre-built in release tarfiles. -INFO_TARGETS = $(INFO_COMMON) efaq-w32 +INFO_TARGETS = $(INFO_COMMON) efaq-w32 org modus-themes ## Some manuals have their source in .org format. ## This is discouraged because the .texi files it generates diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 5f9ca01694..4e3219bcef 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -98,7 +98,9 @@ COMPILE_FIRST += # to speed things up. MAIN_FIRST = ./emacs-lisp/eieio.el ./emacs-lisp/eieio-base.el \ ./cedet/semantic/db.el ./emacs-lisp/cconv.el \ - ./international/ja-dic-cnv.el + ./international/ja-dic-cnv.el \ + ./org/ox.el ./org/ox-texinfo.el ./org/org-macro.el ./org/org-element.el \ + ./org/oc.el ./org/ol.el ./emacs-lisp/cl-lib.el # Prevent any settings in the user environment causing problems. unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH @@ -121,11 +123,12 @@ SUBDIRS_SUBDIRS = # cus-load and finder-inf are not explicitly requested by anything, so # we add them here to make sure they get built. -all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el generate-ja-dic +all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el generate-ja-dic \ + org-manuals PHONY_EXTRAS = .PHONY: all custom-deps finder-data autoloads update-subdirs $(PHONY_EXTRAS) \ - generate-ja-dic + generate-ja-dic org-manuals # custom-deps and finder-data both used to scan _all_ the *.el files. # This could lead to problems in parallel builds if automatically @@ -161,6 +164,9 @@ generate-ja-dic: $(AM_V_at)$(MAKE) -C ../leim generate-ja-dic EMACS="$(EMACS)" $(AM_V_at)$(MAKE) compile-targets TARGETS="./leim/ja-dic/ja-dic.elc" +org-manuals: main-first + $(MAKE) -C ../doc/misc org.texi modus-themes.texi + ## Comments on loaddefs generation: # loaddefs depends on gen-lisp for two reasons: -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no