From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Smith Newsgroups: gmane.lisp.guile.user Subject: Re: Starting a GNU Guile awesome list Date: Sun, 08 Nov 2020 13:55:46 -0500 Organization: GNU's Not UNIX! Message-ID: <5666696f0656fbbbe2420bceb30632d1e4f75b5b.camel@gnu.org> References: <87k0z5xp8y.fsf@web.de> <3bbb1573-eff8-975f-bae0-4d305d84e09f@posteo.de> <871ri4zglz.fsf@elephly.net> <1d95a8f7-1db0-5c1d-5681-cd4aab2a4e22@posteo.de> <87y2kbybqo.fsf@elephly.net> <148b42ad-699e-4782-1d44-a94f14fe86c6@posteo.de> Reply-To: psmith@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5918"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.4-0ubuntu1 Cc: guile-user@gnu.org To: Ricardo Wurmus Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Nov 08 19:55:58 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 1kbpr4-0001Q3-4t for guile-user@m.gmane-mx.org; Sun, 08 Nov 2020 19:55:58 +0100 Original-Received: from localhost ([::1]:43050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbpr3-0004JC-3H for guile-user@m.gmane-mx.org; Sun, 08 Nov 2020 13:55:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbpqt-0004J6-Vp for guile-user@gnu.org; Sun, 08 Nov 2020 13:55:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54771) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbpqt-0005JM-Iw; Sun, 08 Nov 2020 13:55:47 -0500 Original-Received: from pool-96-233-64-159.bstnma.fios.verizon.net ([96.233.64.159]:34486 helo=pdslaptop.home) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbpqt-0003oY-7T; Sun, 08 Nov 2020 13:55:47 -0500 In-Reply-To: <148b42ad-699e-4782-1d44-a94f14fe86c6@posteo.de> 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:17011 Archived-At: On Sun, 2020-11-08 at 18:09 +0100, Zelphir Kaltstahl wrote: > I was hoping for a solution, which could use Elisp in one part of the > makefile and bash in another part of the makefile. I apologize that I wasn't following the previous messages in this thread so I don't have the full context. However, you can choose to use different interpreters for different recipes in modern GNU make by assigning the SHELL variable as a target- specific variable [1]: SHELL = /usr/bin/guile all: guile sh guile: ; ; this is the default and runs in guile sh: SHELL = /bin/bash sh: ; # this is overridden and runs in the shell [1] https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html