From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 9e94509 3/3: Generate info/dir directly from any org sources Date: Sat, 06 Mar 2021 17:51:14 +0200 Message-ID: <834khowaa5.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19468"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, emacs-devel@gnu.org, rgm@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 06 16:52:08 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 1lIZDs-0004wx-FE for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Mar 2021 16:52:08 +0100 Original-Received: from localhost ([::1]:45566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIZDr-00060A-I1 for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Mar 2021 10:52:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIZDO-0005bQ-Hl for emacs-devel@gnu.org; Sat, 06 Mar 2021 10:51:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40738) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIZDN-0006Fq-Mq; Sat, 06 Mar 2021 10:51:37 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1333 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lIZDD-0002NL-Oq; Sat, 06 Mar 2021 10:51:35 -0500 In-Reply-To: <877dmkti1d.fsf@tcd.ie> (contovob@tcd.ie) 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:266078 Archived-At: > From: "Basil L. Contovounesios" > Cc: Mattias EngdegÄrd , rgm@gnu.org, > emacs-devel@gnu.org > Date: Sat, 06 Mar 2021 15:31:58 +0000 > > texi_misc = $(shell ${MAKE} --no-print-directory -s -C doc/misc echo-sources) > > srcdir_doc_info_dir_inputs = \ > ${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? Why do we need to use $(shell) at all? 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/?