From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Using Org as the source format to generate org.texi Date: Fri, 09 Mar 2018 18:52:14 +0100 Organization: Linux Private Site Message-ID: <87bmfxqgq9.fsf@Rainer.invalid> References: <878tb5axms.fsf@bzg.fr> <6630c346-1b5a-d265-2b3a-05c4f7c497c6@cs.ucla.edu> <87muzk4tzs.fsf@gnu.org> <87muzk5oh0.fsf@Rainer.invalid> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1520618089 10086 195.159.176.226 (9 Mar 2018 17:54:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2018 17:54:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 09 18:54:44 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euME8-0002XC-K1 for ged-emacs-devel@m.gmane.org; Fri, 09 Mar 2018 18:54:44 +0100 Original-Received: from localhost ([::1]:47051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euMGB-0001EZ-Er for ged-emacs-devel@m.gmane.org; Fri, 09 Mar 2018 12:56:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euMBw-0005kQ-OC for emacs-devel@gnu.org; Fri, 09 Mar 2018 12:52:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euMBt-0002ac-Km for emacs-devel@gnu.org; Fri, 09 Mar 2018 12:52:28 -0500 Original-Received: from [195.159.176.226] (port=33085 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euMBt-0002a3-C7 for emacs-devel@gnu.org; Fri, 09 Mar 2018 12:52:25 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1euM9l-0006FX-D8 for emacs-devel@gnu.org; Fri, 09 Mar 2018 18:50:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 74 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Ha5ZxY/7gOVCpDe9/VlsNeBavQ4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223550 Archived-At: --=-=-= Content-Type: text/plain Achim Gratz writes: > Let me dig out the incantation later today (unles Nicolas beats me to it > of course). Sorry, I got distracted by a clogged drain pipe. Here's the Makefile I've been using: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=Makefile TEXI2PDF+=--tidy BEXP=$(BATCH) \ --eval '(add-to-list '"'"'load-path "../lisp")' EXTEXI= EXHTML= $(BTEST_POST) ORG2TEXI=-f org-texinfo-export-to-texinfo ORG2HTML=-f org-html-export-to-html ORG2INFO=--eval "(org-texinfo-compile \"./$<\")" .SUFFIXES: # we don't need default suffix rules ifeq ($(MAKELEVEL), 0) $(error This make needs to be started as a sub-make from the toplevel directory.) endif .PHONY: all info html pdf all: $(ORG_MAKE_DOC) info: org.info html: orgmanual org.html pdf: org.pdf org.texi: orgmanual.org $(BEXP) $(EXTEXI) $< $(ORG2TEXI) org.info: org.texi $(MAKEINFO) --no-split $< -o $@ # LANG=C # to work around a bug in texi2dvi org.pdf: LC_ALL=C org.pdf: LANG=C org.pdf: org.texi $(TEXI2PDF) $< orgmanual: org.texi $(TEXI2HTML) $< -o $@ org.html: orgmanual.org $(BEXP) $(EXHTML) $< $(ORG2HTML) clean: $(RM) org *.pdf *.html *.texi *.info *~ \ *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \ *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps cleanall: clean $(RMR) org.t2d orgmanual --=-=-= Content-Type: text/plain Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada --=-=-=--