emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Fix parallel build failure for Texinfo manual
Date: Tue, 21 Dec 2021 19:17:20 +0700	[thread overview]
Message-ID: <spsgki$vua$1@ciao.gmane.io> (raw)
In-Reply-To: <87r1a7rm6d.fsf@gmail.com>

On 21/12/2021 04:39, Marco Wahl wrote:
> Possibly a split of function org-make-manuals in org-make-manual and
> org-make-guide and further create two single targets instead of the
> current double target is more clear.

Marco, have you considered the following idea (I have not tested it)?

org.texi orgguide.texi:
  	$(BATCH) 				      \
  	  --eval '(add-to-list `load-path "../lisp")' \
  	  --eval '(load "../mk/org-fixup.el")' 	      \
	  --eval '(org-to-texi argv)' $<
org.texi: org-manual.org
orgguide.texi: org-guide.org

(defun org-to-texi (org-files)
   "Generate the Texinfo files out of Org manuals."
    (require 'ox-texinfo)
   (dolist (manual org-files)
     (find-file manual)

P.S. Frankly speaking I was surprised that make runs command for every 
target, I believed that is a way to specify multiple output files for 
recipes. I had to look into info "(make) Multiple Targets" to realize 
that I was wrong.

  parent reply	other threads:[~2021-12-21 12:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 16:44 Ulrich Müller
2021-12-20 21:39 ` Marco Wahl
2021-12-21  7:29   ` Ulrich Mueller
2021-12-21 11:21     ` Marco Wahl
2021-12-21 12:17   ` Max Nikulin [this message]
2021-12-21 12:48     ` Marco Wahl
2021-12-21 14:37       ` Max Nikulin
2021-12-21 20:34         ` Marco Wahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='spsgki$vua$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [PATCH] Fix parallel build failure for Texinfo manual' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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


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).