Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH -perfbook 2/7] Makefile: Remove redundant nest of filter-out function
Date: Mon, 11 Apr 2022 16:55:52 +0900	[thread overview]
Message-ID: <01defb62-e787-81ab-1875-616d7e23e688@gmail.com> (raw)
In-Reply-To: <b756ba87-3fd3-1865-d8c0-3fb0ba45966b@gmail.com>

Simplify the use of filter-out function.
This simpler list of variables in its first argument should have
been used in commit afd0c61f9cd2 ("Makefile: Ignore .eps files
under CodeSamples/.../OLD-*/").

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a605487a..ff8a6a26 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ EPSSOURCES_OLD := \
 	$(wildcard CodeSamples/*/*/*/OLD-*/*.eps) \
 	$(wildcard CodeSamples/*/*/*/OLD-*/*/*.eps)
 
-EPSSOURCES := $(sort $(filter-out $(EPSSOURCES_OLD),$(filter-out $(OBSOLETE_FILES) $(EPSSOURCES_TMP),$(EPSSOURCES_DUP))))
+EPSSOURCES := $(sort $(filter-out $(EPSSOURCES_OLD) $(OBSOLETE_FILES) $(EPSSOURCES_TMP),$(EPSSOURCES_DUP)))
 
 PDFTARGETS_OF_EPS := $(EPSSOURCES:%.eps=%.pdf)
 
-- 
2.25.1



  parent reply	other threads:[~2022-04-11  7:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11  7:49 [PATCH -perfbook 0/7] Build script updates Akira Yokosawa
2022-04-11  7:53 ` [PATCH -perfbook 1/7] Makefile: Ignore temporary .eps files Akira Yokosawa
2022-04-11  7:55 ` Akira Yokosawa [this message]
2022-04-11  7:56 ` [PATCH -perfbook 3/7] Makefile: Let ebook-size builds graduate from 'WIP' Akira Yokosawa
2022-04-11  7:59 ` [PATCH -perfbook 4/7] run{first}latex.sh: Use variable for 'pdflatex' command Akira Yokosawa
2022-04-11  8:01 ` [PATCH -perfbook 5/7] Makefile: Test $(LATEX) before invoking runfirstlatex.sh Akira Yokosawa
2022-04-11  8:03 ` [PATCH -perfbook 6/7] run(first)latex.sh: Catch error exit of LATEX Akira Yokosawa
2022-04-11  8:05 ` [PATCH -perfbook 7/7] runlatex.sh: Align status report messages Akira Yokosawa
2022-04-11 20:08 ` [PATCH -perfbook 0/7] Build script updates Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01defb62-e787-81ab-1875-616d7e23e688@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox