From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: master 9e94509 3/3: Generate info/dir directly from any org sources Date: Sat, 06 Mar 2021 17:21:51 +0000 Message-ID: <877dmkryds.fsf@tcd.ie> References: <20210304184723.8249.29253@vcs0.savannah.gnu.org> <20210304184725.15B2320E1B@vcs0.savannah.gnu.org> <87h7lpn6xd.fsf@tcd.ie> <0i7dmlxvds.fsf@fencepost.gnu.org> <87sg58wldp.fsf@tcd.ie> <837dmkwd2c.fsf@gnu.org> <877dmkti1d.fsf@tcd.ie> <834khowaa5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7366"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: mattiase@acm.org, emacs-devel@gnu.org, rgm@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 06 18:22:42 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lIadW-0001qe-7R for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Mar 2021 18:22:42 +0100 Original-Received: from localhost ([::1]:36984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIadV-0000Fd-9g for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Mar 2021 12:22:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIacn-0008Bk-GL for emacs-devel@gnu.org; Sat, 06 Mar 2021 12:21:57 -0500 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:34816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIacl-0005qf-Fl for emacs-devel@gnu.org; Sat, 06 Mar 2021 12:21:57 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id l12so6198325wry.2 for ; Sat, 06 Mar 2021 09:21:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=aXVQFgJ/UJxNb1k9vXk0tiJPNdhaWfptFLz8kT9tJu0=; b=Jwgq+TZD+EOP89tdIJPRhqU2pKzb54BwK0VWxzsfeFQh9F8oRnSLuXb/amt2gidzjt Kvy9HeOLwWvv28LvSg2qvIQVRwHUjNM8cgs/RA85Ge1v7o/41kT+nC2ctO89tXZnhxwu vtGvzuaZckHOutd0rw/VmqqfFd74ZeRmybzFFpJ5jfE3DqTfCaF4+3ErReYKaLNLx93q YZ5G30wrnn5O017JRzIf3IrSD5zarKgDYCesCpodfapoCgBiDvcuMjuBReKIl2d3uZYS kBcNPmGvAabZa2PdsamRBNbn/80WAuEs/Al7I4gTooTX8vTJ9NxegfwrBt0Gpt/6rO5x Dw3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=aXVQFgJ/UJxNb1k9vXk0tiJPNdhaWfptFLz8kT9tJu0=; b=bHAFcIlU7AdvRb3E3ECM3VyrXhLNpE4SkUXrrPQuQbiqDS/82vUozkpPv/h06vYTUn Bp4MvPxMTSEkrucbN2MJRf9ba/I76vxsH2cS8Qk+Rxa+5RLLAoDtWppKw9uNqwl0cGRN rC0J+lnlmpZBsgyYzC+Hf82ROyR+Eo8zdfl9D60mCw7g9w0vsgjmIYpHn2+PxWCIi9eW LoPMnlh0RYwBykUBACcen60PuZM7za27yk95MZDDlZB09sBzOrLVXV5uBG+1GwBYkWYt /em8OMaokETh1HoHxnLRPMBSxsyqsaKRTNy01z80TA9K4PgvwPrDtvw27Af4T5EGMS66 bPNg== X-Gm-Message-State: AOAM532fZUAa2beRN0za0JnS2+2hq5ZU3IsJBCRn6Z4SBS5VuCd3Klyt 7pdk+yHL9Ogz0a7RkIyIh9IOPg== X-Google-Smtp-Source: ABdhPJwTJmqmOJ0Gki4NJeGwZEfFLXL4QcsNnM8jy5Bd5SbAULTe31qHm8TkPfc31Yiy0wSa3nrcdw== X-Received: by 2002:adf:e8c9:: with SMTP id k9mr14964867wrn.315.1615051313436; Sat, 06 Mar 2021 09:21:53 -0800 (PST) Original-Received: from localhost ([51.37.57.126]) by smtp.gmail.com with ESMTPSA id p18sm11240550wro.18.2021.03.06.09.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Mar 2021 09:21:52 -0800 (PST) In-Reply-To: <834khowaa5.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 Mar 2021 17:51:14 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=contovob@tcd.ie; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266085 Archived-At: Eli Zaretskii writes: >> From: "Basil L. Contovounesios" >> Cc: Mattias Engdeg=C3=A5rd , rgm@gnu.org, >> emacs-devel@gnu.org >> Date: Sat, 06 Mar 2021 15:31:58 +0000 >>=20 >> texi_misc =3D $(shell ${MAKE} --no-print-directory -s -C doc/misc echo-= sources) >>=20=20 >> srcdir_doc_info_dir_inputs =3D \ >> ${srcdir}/doc/emacs/emacs.texi \ >> ${srcdir}/doc/lispintro/emacs-lisp-intro.texi \ >> ${srcdir}/doc/lispref/elisp.texi \ >> - $(addprefix ${srcdir}/doc/misc/,${texi_misc}) >> + $(addprefix ${srcdir}/doc/misc/,$(filter %.texi %.org,${texi_misc})) > > This only works if the other output is interspersed "at word level", > i.e. you don't have characters from one Make mixed up with those of > another inside a single word. Right? Right. (Though in practice it WFM=E2=84=A2.) > Why do we need to use $(shell) at all? Ideally we shouldn't. Even capturing the output of a sub-make recipe e.g. with $(eval ...) would be better, since that would play better with the jobserver. > Can't we use $(wildcard) to > the same effect without starting another process? If the problem is > that some *.texi files are generated, and we don't want them in the > list, how about generating them in a subdirectory of doc/misc/? Either sounds fine to me, but I don't understand well enough Glenn's changes or how these recipes should work to be of much help with that. Thanks, --=20 Basil