From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Alexandrov Newsgroups: gmane.lisp.guile.user Subject: Re: Starting a GNU Guile awesome list Date: Thu, 16 Jul 2020 11:47:24 +0300 Message-ID: References: <87k0z5xp8y.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24744"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: guile-user@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Jul 16 10:48:36 2020 Return-path: Envelope-to: guile-user@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 1jvzZE-0006LP-Fx for guile-user@m.gmane-mx.org; Thu, 16 Jul 2020 10:48:36 +0200 Original-Received: from localhost ([::1]:42046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvzZD-0008W8-3H for guile-user@m.gmane-mx.org; Thu, 16 Jul 2020 04:48:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvzYH-0008Uy-AL for guile-user@gnu.org; Thu, 16 Jul 2020 04:47:37 -0400 Original-Received: from relay-1.mailobj.net ([213.182.54.6]:49262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvzYF-0007H8-0E for guile-user@gnu.org; Thu, 16 Jul 2020 04:47:36 -0400 Original-Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-1.mailobj.net (Postfix) with SMTP id CA66D12AD; Thu, 16 Jul 2020 10:47:29 +0200 (CEST) Original-Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Thu, 16 Jul 2020 10:47:29 +0200 (CEST) X-EA-Auth: oJ40+Pf5VmdbHAeewB4WH3MfjLHindsJWNk7HZ0HEkUcjZCu2fY3UDxCVuaKY/trwltSBESM2aLoP+N8rAzxLO5PpRKERGma In-Reply-To: <87k0z5xp8y.fsf@web.de> (Arne Babenhauserheide's message of "Wed, 15 Jul 2020 08:32:13 +0200") OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Received-SPF: pass client-ip=213.182.54.6; envelope-from=dag@gnui.org; helo=relay-1.mailobj.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/16 04:47:30 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16696 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Dr. Arne Babenhauserheide" wrote: >>> In the case you will stick with Org, there at least should be a runnabl= e build recipe (i. e. a Makefile). > > I=E2=80=99d like to cut this discussion short: > > https://notabug.org/ZelphirKaltstahl/awesome-guile/pulls/1/files > all: readme.md readme.texi readme.html > .INTERMEDIATE: .exported > readme.md readme.texi readme.html: .exported > .exported: readme.org > HOME=3D$$(dirname $$(realpath "$<")) emacs -Q --batch "$<" --exec "(req= uire 'ox-md)" -f org-md-export-to-markdown -f org-html-export-to-html -f or= g-texinfo-export-to-texinfo -f kill-emacs Alternatively, without reliance on implicit behaviour (setting HOME in orde= r to get an expected filename??): #!/usr/bin/make -f =09 SHELL :=3D emacs .SHELLFLAGS :=3D --quick --batch --eval =09 orgs :=3D $(wildcard *.org) objs :=3D $(orgs:.org=3D.md) $(orgs:.org=3D.texi) =09 .PHONY: all all: $(objs) =09 .ONESHELL: %.md %.texi: %.org (with-temp-buffer (require 'ox-md) (require 'ox-texinfo) (when (insert-file-contents "$<") (org-mode) (org-export-to-file 'md "$*.md") (org-export-to-file 'texinfo "$*.texi"))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXxAUHQ0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnxmgA/2BMGsvO4cRIW3yA4O8XahJukU5ujF27tS2zQVSm XnaTAP9yBMmcQcPP/rrnubMuFnsc+u57ejHo7U+GPBgQjGnpCw== =lbd3 -----END PGP SIGNATURE----- --=-=-=--