emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master c86995d07e9: Enable code block evaluation when generating .or


From: Ihor Radchenko
Subject: Re: master c86995d07e9: Enable code block evaluation when generating .org manuals
Date: Mon, 17 Jun 2024 11:46:55 +0000

Stefan Kangas <stefankangas@gmail.com> writes:

>> May you please point me to where in the Makefiles you do the
>> pre-generation you are referring to?
>
> Running the `admin/update_autogen` script results in commits like this
> one:
>
>     commit 1ea3b369021c90701c634c512426f75ce1291d77
>     Author: Eli Zaretskii <eliz@gnu.org>
>     Date:   Sat Mar 9 04:24:30 2024 -0500
>
>         Auto-commit of loaddefs files.

Thanks!
I am now looking into that script, and into doc/misc/Makefile.
I can see two approaches wrt to the Makefile:

1. Implement a separate Makefile target to generate org.org version with
   all the necessary code blocks inside evaluated, so that there is no
   need to redo it during make doc.

2. (simpler) Just reuse the existing .org->.texi target and run the full
   .texi generation from admin/update_autogen script itself.

The second option is less work and also ultimately shorter build times
as there will be no need to arrange Org mode compilation, and
.org->.texi conversion.

What do you think about such approach?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]