From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH] Another regression fix of build script improvement
Date: Tue, 26 Apr 2016 08:24:34 -0700 [thread overview]
Message-ID: <20160426152434.GC3715@linux.vnet.ibm.com> (raw)
In-Reply-To: <6a3c510c-f4c6-6826-46af-a91c7a45d17a@gmail.com>
On Tue, Apr 26, 2016 at 10:16:34PM +0900, Akira Yokosawa wrote:
> >From c2ea05aa026f81e4b7641b8a14144fd8caa8f661 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiysw@gmail.com>
> Date: Tue, 26 Apr 2016 21:20:15 +0900
> Subject: [PATCH] Another regression fix of build script improvement
>
> After commit 4038e781ed56 ("Improve behavior of build scripts"),
> it is impossible to build 'perfbook-1c.pdf' and 'perfbook-hb.pdf'
> just after cloning the git repository.
> The reason is the lack of rules for 'perfbook-1c.tex' and
> 'perfbook-hb.tex'targets, which are required for them.
> This commit adds those rules to Makefile.
> The reason I couldn't find the bug during my test is both
> 'perfbook-1c.tex' and 'perfbook-hb.tex' survive even
> 'make neatfreak' which I assumed to be used to clean everything.
> To avoid similar regression to recur, this commit also appends
> them to the 'clean' target.
>
> Signed-off-by: Akira Yokosawa <akiysw@gmail.com>
Queued and pushed, thank you!
Thanx, Paul
> ---
> Makefile | 14 +++++++++-----
> 1 file changed, 9 insertions(+), 5 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index b909c81..4d9ed30 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -176,20 +176,24 @@ perfbook.bbl: $(BIBSOURCES) perfbook.aux
> perfbook.aux: $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
> sh utilities/runfirstlatex.sh perfbook
>
> -perfbook-1c.pdf: perfbook-1c.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
> - sed -e 's/,twocolumn//' -e '/^\\frontmatter/a \\\\pagestyle{plain}' -e 's/setboolean{twocolumn}{true}/setboolean{twocolumn}{false}/' < perfbook.tex > perfbook-1c.tex
> +perfbook-1c.pdf: perfbook-1c.tex perfbook-1c.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
> sh utilities/runlatex.sh perfbook-1c
>
> +perfbook-1c.tex: perfbook.tex
> + sed -e 's/,twocolumn//' -e '/^\\frontmatter/a \\\\pagestyle{plain}' -e 's/setboolean{twocolumn}{true}/setboolean{twocolumn}{false}/' < perfbook.tex > perfbook-1c.tex
> +
> perfbook-1c.bbl: $(BIBSOURCES) perfbook-1c.aux
> bibtex perfbook-1c
>
> perfbook-1c.aux: $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
> sh utilities/runfirstlatex.sh perfbook-1c
>
> -perfbook-hb.pdf: perfbook-hb.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
> - sed -e 's/,twocolumn/&,letterpaperhb/' -e 's/setboolean{hardcover}{false}/setboolean{hardcover}{true}/' < perfbook.tex > perfbook-hb.tex
> +perfbook-hb.pdf: perfbook-hb.tex perfbook-hb.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
> sh utilities/runlatex.sh perfbook-hb
>
> +perfbook-hb.tex: perfbook.tex
> + sed -e 's/,twocolumn/&,letterpaperhb/' -e 's/setboolean{hardcover}{false}/setboolean{hardcover}{true}/' < perfbook.tex > perfbook-hb.tex
> +
> perfbook-hb.bbl: $(BIBSOURCES) perfbook-hb.aux
> bibtex perfbook-hb
>
> @@ -257,7 +261,7 @@ clean:
> -o -name '*.dvi' -o -name '*.log' \
> -o -name '*.qqz' -o -name '*.toc' -o -name '*.bbl' | xargs rm -f
> rm -f perfbook_flat.tex perfbook_html.tex perfbook.out perfbook-1c.out
> - rm -f perfbook-hb.out
> + rm -f perfbook-hb.out perfbook-1c.tex perfbook-hb.tex
> rm -rf perfbook_html
> rm -f SMPdesign/DiningPhilosopher5.eps \
> SMPdesign/DiningPhilosopher5TB.eps \
> --
> 1.9.1
>
prev parent reply other threads:[~2016-04-26 15:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 13:16 [PATCH] Another regression fix of build script improvement Akira Yokosawa
2016-04-26 15:24 ` Paul E. McKenney [this message]
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=20160426152434.GC3715@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=akiyks@gmail.com \
--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