Skip to content

Makefile cleanups

Akira Yokosawa perfbook 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Makefile: Use more automatic variables.gitignore Makefile+9 -130 replies
2/2Makefile: Use secondary expansionMakefile+7 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Makefile cleanups

From 3fc3583818c9103ef2d1c01516b362c4b6768604 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Thu, 13 Oct 2016 20:51:46 +0900
Subject: [PATCH 0/2] Makefile cleanups

Hi,

Here is a patch set sequel to commit 0e6e192e6ea7 ("Makefile: Use implicit rules for various layout options").

1st patch shortens some rules by using automatic variables. 2nd one gets rid of apparent dependency rules like "1c: perfbook-1c.pdf" by using secondary-expansion feature of GNU make.

Now almost all redundant rules have been removed. There is no change in the behavior of make command.

This set is a by-product of my attempt to try some alternative monospace fonts to be used among Times Roman text. To give you an easy way to compare candidates, I'm preparing patches to add a few make targets, but not sure where it goes. This cleanup set seems worthwhile on its own.

Thanks, Akira

Akira Yokosawa (2):
Makefile: Use more automatic variables
Makefile: Use seconday expansion

 .gitignore |  7 ++-----
 Makefile   | 28 ++++++++++++++--------------
 2 files changed, 16 insertions(+), 19 deletions(-)
Signature · 1 line
2.7.4